More cleanup.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-02-28 12:43:34 -05:00
parent 26bc6198f8
commit bd705ed188
9 changed files with 38 additions and 46 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ def send_email_to_provider(notification):
def update_notification_to_sending(notification, provider):
notification.sent_at = datetime.utcnow()
notification.sent_by = provider.name
if notification.status not in NotificationStatus.completed_types:
if notification.status not in NotificationStatus.completed_types():
notification.status = NotificationStatus.SENDING
dao_update_notification(notification)