Skip to content

Commit

Permalink
fix: null 체이닝
Browse files Browse the repository at this point in the history
  • Loading branch information
Conut-1 committed Dec 7, 2023
1 parent cd5d2b2 commit 19d7337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nestjs-BE/server/src/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class AuthService extends BaseService<TokenData> {
async findUser(usersService: UsersService, email: string, provider: string) {
const key = `email:${email}+provider:${provider}`;
const findUserData = await usersService.findOne(key);
return findUserData.data?.uuid;
return findUserData?.data?.uuid;
}

async createUser(
Expand Down

0 comments on commit 19d7337

Please sign in to comment.