Updates cic-notify to fix minor bugs.
This commit is contained in:
parent
5bfe9fcd4a
commit
5b89c151f9
@ -56,7 +56,7 @@ class AfricasTalkingNotifier:
|
|||||||
response = self.api_client.send(message=message, recipients=[recipient])
|
response = self.api_client.send(message=message, recipients=[recipient])
|
||||||
logg.debug(f'africastalking response no-sender-id {response}')
|
logg.debug(f'africastalking response no-sender-id {response}')
|
||||||
|
|
||||||
recipients = response.get('Recipients')
|
recipients = response.get('SMSMessageData').get('Recipients')
|
||||||
|
|
||||||
if len(recipients) != 1:
|
if len(recipients) != 1:
|
||||||
status = response.get('SMSMessageData').get('Message')
|
status = response.get('SMSMessageData').get('Message')
|
||||||
|
@ -28,6 +28,7 @@ packages =
|
|||||||
cic_notify
|
cic_notify
|
||||||
cic_notify.db
|
cic_notify.db
|
||||||
cic_notify.db.models
|
cic_notify.db.models
|
||||||
|
cic_notify.ext
|
||||||
cic_notify.tasks.sms
|
cic_notify.tasks.sms
|
||||||
cic_notify.runnable
|
cic_notify.runnable
|
||||||
scripts =
|
scripts =
|
||||||
|
Loading…
Reference in New Issue
Block a user