update billing dao

This commit is contained in:
Kenneth Kehl
2024-10-14 12:12:31 -07:00
parent 287b7d1dec
commit 43e774ce44

View File

@@ -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