mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
fix another
This commit is contained in:
@@ -72,10 +72,10 @@ def get_services_by_partial_name(service_name):
|
|||||||
|
|
||||||
def dao_count_live_services():
|
def dao_count_live_services():
|
||||||
stmt = select(Service).where(
|
stmt = select(Service).where(
|
||||||
Service.active, Service.count_as_live, Service.restricted == False
|
Service.active, Service.count_as_live, Service.restricted == False # noqa
|
||||||
)
|
)
|
||||||
result = db.session.execute(stmt)
|
result = db.session.execute(stmt)
|
||||||
return result.scalar() # Retrieves the count
|
return result.scalar() # Retrieves the count
|
||||||
|
|
||||||
|
|
||||||
def dao_fetch_live_services_data():
|
def dao_fetch_live_services_data():
|
||||||
|
|||||||
Reference in New Issue
Block a user