try scalars to resolve test failure

This commit is contained in:
Kenneth Kehl
2024-10-15 09:12:52 -07:00
parent c86a0d7214
commit 333cd1de39

View File

@@ -462,7 +462,7 @@ def _query_for_billing_data(notification_type, start_date, end_date, service):
}
query = query_funcs[notification_type]()
return db.session.execute(query).all()
return db.session.execute(query).scalars().all()
def get_rates_for_billing():