mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-08 20:13:12 -04:00
noqa the x == False for sqlalchemy
This commit is contained in:
@@ -55,7 +55,7 @@ class PermissionDAO(DAOClass):
|
|||||||
return (
|
return (
|
||||||
db.session.execute(
|
db.session.execute(
|
||||||
select(Permission)
|
select(Permission)
|
||||||
.join(Service, Service.id == Permission.service_id)
|
.join(Service)
|
||||||
.where(Permission.user_id == user_id)
|
.where(Permission.user_id == user_id)
|
||||||
.where(Service.active.is_(True))
|
.where(Service.active.is_(True))
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user