mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
added PR requested changes
This commit is contained in:
@@ -54,7 +54,7 @@ def service_dashboard(service_id):
|
|||||||
|
|
||||||
aggregate_notifications_by_job = defaultdict(list)
|
aggregate_notifications_by_job = defaultdict(list)
|
||||||
for notification in notifications_response:
|
for notification in notifications_response:
|
||||||
job_id = notification.get("job", {}).get("id")
|
job_id = notification.get("job", {}).get("id", None)
|
||||||
if job_id:
|
if job_id:
|
||||||
aggregate_notifications_by_job[job_id].append(notification)
|
aggregate_notifications_by_job[job_id].append(notification)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user