From 6474e0ffa8ec9e79a41e4fcd8943bcd54786eec3 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Tue, 27 Jun 2023 14:45:48 -0700 Subject: [PATCH] code review feedback --- app/dao/notifications_dao.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dao/notifications_dao.py b/app/dao/notifications_dao.py index 34905c87e..848d1d2c8 100644 --- a/app/dao/notifications_dao.py +++ b/app/dao/notifications_dao.py @@ -279,7 +279,7 @@ def sanitize_successful_notification_by_id( Notification.query.filter( Notification.id.in_([notification_id]), ).update( - {'to': phone_prefix, 'normalised_to': phone_prefix, 'status': 'delivered'}, + {'to': phone_prefix, 'normalised_to': phone_prefix, 'status': 'delivered'} ) db.session.commit()