mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 07:51:13 -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
|
||||
|
||||
if (
|
||||
notification.notification_type == 'sms'
|
||||
notification.notification_type == SMS_TYPE
|
||||
and notification.international
|
||||
and not country_records_delivery(notification.phone_prefix)
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user