mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-30 20:31:37 -05:00
fix another
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user