MSG91 minor bugfixes; refs #141

pull/145/head
Chris Caron 2019-08-21 21:49:43 -04:00
parent 12fed2b6bd
commit b32021a8b4
1 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ class NotifyMSG91(NotifyBase):
'name': _('Authentication Key'), 'name': _('Authentication Key'),
'type': 'string', 'type': 'string',
'required': True, 'required': True,
'regex': (r'AC[a-z0-9]+', 'i'), 'regex': (r'[a-z0-9]+', 'i'),
}, },
'target_phone': { 'target_phone': {
'name': _('Target Phone No'), 'name': _('Target Phone No'),
@ -149,7 +149,7 @@ class NotifyMSG91(NotifyBase):
'default': MSG91Route.TRANSACTIONAL, 'default': MSG91Route.TRANSACTIONAL,
}, },
'country': { 'country': {
'name': _('Route'), 'name': _('Country'),
'type': 'choice:int', 'type': 'choice:int',
'values': MSG91_COUNTRIES, 'values': MSG91_COUNTRIES,
}, },