Skip to content

Commit

Permalink
[add] test
Browse files Browse the repository at this point in the history
  • Loading branch information
ymuichiro committed Aug 5, 2023
1 parent f3b0bd4 commit d4902d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/pages/api/users/[userId]/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function getRequest(req: NextApiRequest, res: NextApiResponse<User>) {
image: true,
createdAt: true,
publicKey: true,
email: session?.user.id === userId ? true : undefined,
email: session?.user.id === userId ? true : false,
},
where: { id: userId },
});
Expand Down

0 comments on commit d4902d0

Please sign in to comment.