Skip to content

Commit

Permalink
[fix]
Browse files Browse the repository at this point in the history
test
  • Loading branch information
Zero982 committed Nov 2, 2024
1 parent 584a8c3 commit 5ceddd6
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ public ResponseEntity<UserDTO> updateNickname(@PathVariable String uid, @Request
return ResponseEntity.ok(userService.updateNickname(uid, nickname, userDetails));
}

// ์นด์นด์˜ค ๋กœ๊ทธ์ธ ์„ฑ๊ณต ์‹œ ํ˜ธ์ถœ๋˜๋Š” ์—”๋“œํฌ์ธํŠธ (GET)
// @Operation(summary = "์นด์นด์˜ค ๋กœ๊ทธ์ธ ์„ฑ๊ณต ์‹œ ํ˜ธ์ถœ๋˜๋Š” ์—”๋“œํฌ์ธํŠธ (GET)")
// @GetMapping("/oauth2/code/kakao")
// public ResponseEntity<JWTDTO> kakaoCallback(@RequestParam String code) {
// return ResponseEntity.ok(userService.loginWithOAuth2(code));
// }
// ์นด์นด์˜ค ๋กœ๊ทธ์ธ ์„ฑ๊ณต ์‹œ ํ˜ธ์ถœ๋˜๋Š” ์—”๋“œํฌ์ธํŠธ (GET)
@Operation(summary = "์นด์นด์˜ค ๋กœ๊ทธ์ธ ์„ฑ๊ณต ์‹œ ํ˜ธ์ถœ๋˜๋Š” ์—”๋“œํฌ์ธํŠธ (GET)")
@GetMapping("/oauth2/code/kakao")
public ResponseEntity<JWTDTO> kakaoCallback(@RequestParam String code) {
return ResponseEntity.ok(userService.loginWithOAuth2(code));
}

// ์นด์นด์˜ค ๋กœ๊ทธ์ธ ์„ฑ๊ณต ์‹œ ํ˜ธ์ถœ๋˜๋Š” ์—”๋“œํฌ์ธํŠธ (POST)
@Operation(summary = "์นด์นด์˜ค ๋กœ๊ทธ์ธ ์„ฑ๊ณต ์‹œ ํ˜ธ์ถœ๋˜๋Š” ์—”๋“œํฌ์ธํŠธ (POST)")
Expand Down

0 comments on commit 5ceddd6

Please sign in to comment.