Skip to content

Commit

Permalink
Merge pull request #15 from eunxeum/main
Browse files Browse the repository at this point in the history
Feat: 컨트롤러 수정
  • Loading branch information
eunxeum authored Nov 2, 2024
2 parents c808927 + e067219 commit 11b64fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public ResponseEntity<UserDTO> updateNickname(@PathVariable String uid, @Request
// 카카오 로그인 성공 시 호출되는 엔드포인트 (GET)
@Operation(summary = "카카오 로그인 성공 시 호출되는 엔드포인트 (GET)")
@GetMapping("/oauth2/code/kakao")
public ResponseEntity<JWTDTO> kakaoCallback(@RequestParam String code) {
public ResponseEntity<JWTDTO> kakaoCallback(@RequestParam(name = "code") String code) {
return ResponseEntity.ok(userService.loginWithOAuth2(code));
}

Expand Down

0 comments on commit 11b64fe

Please sign in to comment.