update research mode notifications after callback has been made

if the callback fails, they should still tech fail
This commit is contained in:
Leo Hemsted
2017-10-16 13:24:06 +01:00
parent 63d9fb46e7
commit d33c25bdac

View File

@@ -54,8 +54,8 @@ def send_sms_to_provider(notification):
if service.research_mode or notification.key_type == KEY_TYPE_TEST:
notification.billable_units = 0
update_notification(notification, provider)
send_sms_response(provider.get_name(), str(notification.id), notification.to)
update_notification(notification, provider)
else:
try:
provider.send_sms(