fix delete

This commit is contained in:
Kenneth Kehl
2024-10-10 11:57:42 -07:00
parent 3f23549095
commit 337b7becc9

View File

@@ -633,7 +633,7 @@ def dao_fetch_stats_for_service_from_days(service_id, start_date, end_date):
func.date_trunc("day", NotificationAllTimeView.created_at),
)
)
return db.session.execute(stmt).all()
return db.session.execute(stmt).scalars().all()
def dao_fetch_stats_for_service_from_days_for_user(