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 d339062 commit 584a8c3
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ public ResponseEntity<UserDTO> updateNickname(@PathVariable String uid, @Request
}

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

Please sign in to comment.