mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
change create notification to an upsert
This commit is contained in:
@@ -71,7 +71,9 @@ def dao_create_notification(notification):
|
||||
# notify-api-742 remove phone numbers from db
|
||||
notification.to = "1"
|
||||
notification.normalised_to = "1"
|
||||
db.session.add(notification)
|
||||
|
||||
# notify-api-1454 change to an upsert
|
||||
db.session.merge(notification)
|
||||
|
||||
|
||||
def country_records_delivery(phone_prefix):
|
||||
|
||||
Reference in New Issue
Block a user