mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Ensure restricted service are respected by tasks:
This is checked on 3rd party API calls, but jobs (CSV files) were able expected to only allow valid files. Change in tack means we want to have restricted notification failures reported in the UI.
This commit is contained in:
@@ -207,7 +207,7 @@ class VerifyCode(db.Model):
|
||||
return check_hash(cde, self._code)
|
||||
|
||||
|
||||
NOTIFICATION_STATUS_TYPES = ['sent', 'failed']
|
||||
NOTIFICATION_STATUS_TYPES = ['sent', 'failed', 'failed - restricted service']
|
||||
|
||||
|
||||
class Notification(db.Model):
|
||||
|
||||
Reference in New Issue
Block a user