mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-29 11:51:48 -05:00
noqa the x == False for sqlalchemy
This commit is contained in:
@@ -61,7 +61,7 @@ def dao_get_organization_by_service_id(service_id):
|
||||
stmt = (
|
||||
select(Organization)
|
||||
.join(Organization.services)
|
||||
.where(Organization.id == service_id)
|
||||
.where(Service.id == service_id)
|
||||
)
|
||||
return db.session.execute(stmt).scalars().first()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user