Make sure join is correct table.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2025-01-09 13:02:21 -05:00
parent 37fa1187ac
commit 8656c44757

View File

@@ -465,7 +465,7 @@ def dao_fetch_stats_for_service_from_days(service_id, start_date, end_date):
func.count(NotificationAllTimeView.id).label("count"),
)
.join_from(
Notification,
NotificationAllTimeView,
Job,
)
.where(