Skip to content

Commit 680a46f

Browse files
committed
fix: auth 서비스 unresolved promise 제거
유저의 회원가입이 제대로 처리되지 않는 이슈 해결
1 parent f8a4066 commit 680a46f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/apis/auth/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const login = async (code: string) => {
1717
avatar_url: avatarUrl,
1818
} = await getGithubUser(accessToken, tokenType);
1919

20-
const isSignedUp = userModel.exists({ id });
20+
const isSignedUp = await userModel.exists({ id });
2121

2222
if (!isSignedUp) {
2323
await userModel.create({

0 commit comments

Comments
 (0)