mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
fix test
This commit is contained in:
@@ -276,7 +276,8 @@ def get_recent_notifications_for_job(
|
||||
stmt = select(Notification).where(
|
||||
Notification.service_id == service_id,
|
||||
Notification.job_id == job_id,
|
||||
Notification.status in [NotificationStatus.FAILED, NotificationStatus.DELIVERED],
|
||||
Notification.status
|
||||
in [NotificationStatus.FAILED, NotificationStatus.DELIVERED],
|
||||
)
|
||||
stmt = _filter_query(stmt, filter_dict)
|
||||
stmt = stmt.order_by(desc(Notification.job_row_number))
|
||||
|
||||
Reference in New Issue
Block a user