mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
- Commit session on job update
- log at exception level
This commit is contained in:
@@ -61,6 +61,7 @@ def update_job_sent_count(notification):
|
||||
Job.notifications_sent: Job.notifications_sent + 1,
|
||||
Job.updated_at: datetime.utcnow()
|
||||
})
|
||||
db.session.commit()
|
||||
|
||||
|
||||
def dao_update_notification(notification):
|
||||
|
||||
Reference in New Issue
Block a user