mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Set filter on query
This commit is contained in:
@@ -94,7 +94,7 @@ def fetch_billing_data_for_day(process_day, service_id=None):
|
||||
Service
|
||||
)
|
||||
if service_id:
|
||||
transit_data.filter(Notification.service_id == service_id)
|
||||
transit_data = transit_data.filter(Notification.service_id == service_id)
|
||||
return transit_data.all()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user