mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
Added a cancelled notification status so that we can cancel letters before they are sent.
This commit is contained in:
@@ -1034,6 +1034,7 @@ class VerifyCode(db.Model):
|
||||
return check_hash(cde, self._code)
|
||||
|
||||
|
||||
NOTIFICATION_CANCELLED = 'cancelled'
|
||||
NOTIFICATION_CREATED = 'created'
|
||||
NOTIFICATION_SENDING = 'sending'
|
||||
NOTIFICATION_SENT = 'sent'
|
||||
@@ -1077,6 +1078,7 @@ NOTIFICATION_STATUS_TYPES_BILLABLE = [
|
||||
]
|
||||
|
||||
NOTIFICATION_STATUS_TYPES = [
|
||||
NOTIFICATION_CANCELLED,
|
||||
NOTIFICATION_CREATED,
|
||||
NOTIFICATION_SENDING,
|
||||
NOTIFICATION_SENT,
|
||||
|
||||
Reference in New Issue
Block a user