Skip to content

Commit

Permalink
Simplify GQL where query
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Nov 5, 2024
1 parent f9ffaa1 commit b2f07a1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/routes/(authenticated)/org/[org_id]/+page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,8 @@ export async function _getProjectsIManage(user: LexAuthUser): Promise<LoadMyProj
where: {
users: {
some: {
and: [
{userId: {eq: $userId}},
{role: {eq: MANAGER}}
]
userId: {eq: $userId},
role: {eq: MANAGER}
}
}
}) {
Expand Down

0 comments on commit b2f07a1

Please sign in to comment.