Merge pull request #377 from alphagov/single_from_number

Replaced mmg from number and firetext from number with single from nu…
This commit is contained in:
NIcholas Staples
2016-06-09 10:41:39 +01:00
8 changed files with 9 additions and 14 deletions

View File

@@ -60,7 +60,7 @@ class FiretextClient(SmsClient):
super(SmsClient, self).__init__(*args, **kwargs)
self.current_app = current_app
self.api_key = current_app.config.get('FIRETEXT_API_KEY')
self.from_number = current_app.config.get('FIRETEXT_NUMBER')
self.from_number = current_app.config.get('FROM_NUMBER')
self.name = 'firetext'
self.statsd_client = statsd_client

View File

@@ -60,7 +60,7 @@ class MMGClient(SmsClient):
super(SmsClient, self).__init__(*args, **kwargs)
self.current_app = current_app
self.api_key = current_app.config.get('MMG_API_KEY')
self.from_number = current_app.config.get('MMG_FROM_NUMBER')
self.from_number = current_app.config.get('FROM_NUMBER')
self.name = 'mmg'
self.statsd_client = statsd_client