mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-10 10:03:38 -04:00
update billing dao
This commit is contained in:
@@ -875,7 +875,7 @@ def fetch_daily_sms_provider_volumes_for_platform(start_date, end_date):
|
|||||||
FactBilling.provider,
|
FactBilling.provider,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
return db.session.execute(stmt).scalars().all()
|
return db.session.execute(stmt).all()
|
||||||
|
|
||||||
|
|
||||||
def fetch_volumes_by_service(start_date, end_date):
|
def fetch_volumes_by_service(start_date, end_date):
|
||||||
@@ -978,6 +978,6 @@ def fetch_volumes_by_service(start_date, end_date):
|
|||||||
Service.name,
|
Service.name,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
results = db.session.execute(stmt).scalars().all()
|
results = db.session.execute(stmt).all()
|
||||||
|
|
||||||
return results
|
return results
|
||||||
|
|||||||
Reference in New Issue
Block a user