Skip to content

Commit

Permalink
hotfix: naverStrategy profile 파싱 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxoxo committed Dec 6, 2023
1 parent 047a6aa commit cc6a825
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BE/src/auth/strategies/naver.strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export class NaverOAuthStrategy extends PassportStrategy(Strategy, "naver") {
profile: Profile,
): Promise<User> {
try {
const { email, id, nickname } = profile;
const { _json } = profile;
const { email, id, nickname } = _json;
const user = new User();

const salt = await bcrypt.genSalt();
Expand Down

0 comments on commit cc6a825

Please sign in to comment.