diff --git a/src/auth/auth.service.ts b/src/auth/auth.service.ts index 4d57922..8749d29 100644 --- a/src/auth/auth.service.ts +++ b/src/auth/auth.service.ts @@ -33,7 +33,7 @@ export class AuthService { } const accessToken = this.generateAccessToken(user.userId); const refreshToken = this.generateRefreshToken(user.userId); - return { accessToken, refreshToken, isMember }; + return { accessToken, refreshToken, isMember, userId: user.userId }; } isMember(user: User) { @@ -148,7 +148,6 @@ export class AuthService { } } - public async checkNicknameDuplicate(nickname: string) { const isExist = await this.userService.checkNicknameDuplicate(nickname);