mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 16:01:15 -05:00
Use constant for notification type
Co-authored-by: Katie Smith <klssmith@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user