Use constant for notification type

Co-authored-by: Katie Smith <klssmith@users.noreply.github.com>
This commit is contained in:
Chris Hill-Scott
2020-09-09 11:12:06 +01:00
committed by GitHub
parent cfda289746
commit 0e1f6f31e4

View File

@@ -141,7 +141,7 @@ def update_notification_status_by_id(notification_id, status, sent_by=None, deta
return None return None
if ( if (
notification.notification_type == 'sms' notification.notification_type == SMS_TYPE
and notification.international and notification.international
and not country_records_delivery(notification.phone_prefix) and not country_records_delivery(notification.phone_prefix)
): ):