diff --git a/src/auth/auth.service.ts b/src/auth/auth.service.ts index b80e2cf..654a840 100644 --- a/src/auth/auth.service.ts +++ b/src/auth/auth.service.ts @@ -128,9 +128,9 @@ export class AuthService { } async signout(kakaoToken: string) { - const { kakaoId } = await this.kakaoTokenInfo(kakaoToken); + const { id } = await this.kakaoTokenInfo(kakaoToken); - this.userService.removeOneByKakaoId(kakaoId); + this.userService.removeOneByKakaoId(id); await this.kakaoUnlink(kakaoToken); return { message: 'Successfully signed out' };