mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
More fixes, removing literal "created" from code.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -272,10 +272,10 @@ def create_notification(
|
||||
)
|
||||
|
||||
if status not in (
|
||||
"created",
|
||||
"validation-failed",
|
||||
"virus-scan-failed",
|
||||
"pending-virus-check",
|
||||
NotificationStatus.CREATED,
|
||||
NotificationStatus.VALIDATION_FAILED,
|
||||
NotificationStatus.VIRUS_SCAN_FAILED,
|
||||
NotificationStatus.PENDING_VIRUS_CHECK,
|
||||
):
|
||||
sent_at = sent_at or datetime.utcnow()
|
||||
updated_at = updated_at or datetime.utcnow()
|
||||
|
||||
Reference in New Issue
Block a user