chore: format
This commit is contained in:
1 parent
46ff3abbb8
commit
7bcc0e2e5c
30 files changed
+155
-159
No files matched your search
@@ -235,11 +235,7 @@ class PromptsTable:
|
||||
user_groups = await Groups.get_groups_by_member_id(user_id, db=db)
|
||||
user_group_ids = [group.id for group in user_groups]
|
||||
|
||||
query = (
|
||||
select(Prompt)
|
||||
.filter(Prompt.is_active == True)
|
||||
.order_by(Prompt.updated_at.desc())
|
||||
)
|
||||
query = select(Prompt).filter(Prompt.is_active == True).order_by(Prompt.updated_at.desc())
|
||||
query = AccessGrants.has_permission_filter(
|
||||
db=db,
|
||||
query=query,
|
||||
|
||||
Reference in new issue
Block a user