mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-24 10:41:35 -04:00
Merge pull request #319 from GSA/badpii
try without weird SQLAlchemy flag
This commit is contained in:
@@ -279,8 +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'},
|
||||
synchronize_session=False
|
||||
{'to': phone_prefix, 'normalised_to': phone_prefix, 'status': 'delivered'}
|
||||
)
|
||||
db.session.commit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user