fix another

This commit is contained in:
Kenneth Kehl
2024-10-08 15:27:20 -07:00
parent 6fc889db04
commit 40ff981b79

View File

@@ -71,7 +71,7 @@ def get_services_by_partial_name(service_name):
def dao_count_live_services():
stmt = select(Service).where(
stmt = select(func.count()).select_from(Service).where(
Service.active, Service.count_as_live, Service.restricted == False # noqa
)
result = db.session.execute(stmt)