Merge pull request #248 from alphagov/mmg-client-fix

Update MMG responses so that 3 is success.
This commit is contained in:
Rebecca Law
2016-04-20 14:45:08 +01:00
3 changed files with 4 additions and 10 deletions

View File

@@ -6,13 +6,7 @@ from app.clients import (STATISTICS_DELIVERED, STATISTICS_FAILURE)
from app.clients.sms import (SmsClient, SmsClientException)
mmg_response_map = {
'00': {
"message": 'Delivered',
"notification_statistics_status": STATISTICS_DELIVERED,
"success": True,
"notification_status": 'delivered'
},
'0': {
'3': {
"message": 'Delivered',
"notification_statistics_status": STATISTICS_DELIVERED,
"success": True,