From 62c3ff3840119bfd5a202a3283dd5bb560aeb3f2 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Mon, 2 Oct 2023 11:45:07 -0700 Subject: [PATCH] Fixing var (#3827) --- src/dispatch/case/scheduled.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch/case/scheduled.py b/src/dispatch/case/scheduled.py index fa386bcf085e..e3f419cc5265 100644 --- a/src/dispatch/case/scheduled.py +++ b/src/dispatch/case/scheduled.py @@ -40,7 +40,7 @@ def case_triage_reminder(db_session: SessionLocal, project: Project): # if we want more specific SLA reminders, we would need to add additional data model for case in cases: - span = datetime.utcnow() - case.created + span = datetime.utcnow() - case.created_at q, r = divmod(span.days, 1) if q >= 1: # we only send one reminder per case per day