Skip to content

Commit

Permalink
Fix my.app(handle:) query
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Sep 1, 2024
1 parent fec3dc8 commit 03d600b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/graphql/resolvers/apps/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const User = createResolver('User', {
return prisma.app.findUnique({
where: {
id: id ? fromGid(id).id : undefined,
handle: handle || undefined,
handle_userId: handle ? {handle, userId: user.id} : undefined,
userId: user.id,
},
});
Expand Down

0 comments on commit 03d600b

Please sign in to comment.