More fixes, removing literal "created" from code.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-02-21 11:27:38 -05:00
parent 15eeac6367
commit 43a8b6539f
13 changed files with 95 additions and 72 deletions

View File

@@ -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()