From d7606b2986b9820a7e8e6423081d1f2f98dd5350 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Thu, 15 Feb 2024 10:40:15 -0800 Subject: [PATCH] added PR requested changes --- app/main/views/dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/dashboard.py b/app/main/views/dashboard.py index b6370a4b2..c2a11eccf 100644 --- a/app/main/views/dashboard.py +++ b/app/main/views/dashboard.py @@ -54,7 +54,7 @@ def service_dashboard(service_id): aggregate_notifications_by_job = defaultdict(list) for notification in notifications_response: - job_id = notification.get("job", {}).get("id") + job_id = notification.get("job", {}).get("id", None) if job_id: aggregate_notifications_by_job[job_id].append(notification)