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