Skip to content

Commit

Permalink
fix(ranking): ranking update delete
Browse files Browse the repository at this point in the history
  • Loading branch information
cjho0316 committed Dec 27, 2023
1 parent 401aa0c commit e803a6a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export class AuthController {
isMfaEnabled: user.isMfaEnabled,
mfaUrl,
};
await this.AppService.updateRanking(user.ladderScore, user.id);

return res.send(userSigninResponseDto);
}
Expand Down Expand Up @@ -159,10 +158,6 @@ export class AuthController {
isMfaEnabled: false,
mfaUrl: undefined,
};
Logger.log(
`updateRanking(ladderScore, id): ${user.ladderScore}, ${user.id}`,
);
await this.AppService.updateRanking(user.ladderScore, user.id); // TODO: 필요한 부분인가?

return res.send(userSigninResponseDto);
}
Expand Down

0 comments on commit e803a6a

Please sign in to comment.