We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a4066 commit 680a46fCopy full SHA for 680a46f
server/apis/auth/service.ts
@@ -17,7 +17,7 @@ export const login = async (code: string) => {
17
avatar_url: avatarUrl,
18
} = await getGithubUser(accessToken, tokenType);
19
20
- const isSignedUp = userModel.exists({ id });
+ const isSignedUp = await userModel.exists({ id });
21
22
if (!isSignedUp) {
23
await userModel.create({
0 commit comments