Skip to content

Commit

Permalink
[#50] chore: api url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kimyu0218 committed Feb 4, 2025
1 parent 365d46c commit 063f55a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public ApiResponse<TokenResponse> kakaoLogin(@RequestBody @Valid KakaoLoginReque
return ApiResponse.success(response);
}

@PostMapping("/kakao-login-with-token")
@PostMapping("/kakao-login/token")
public ApiResponse<TokenResponse> kakaoLoginWithToken(
@RequestBody @Valid KakaoLoginWithTokenRequest request) {
TokenResponse response = authFacadeService.kakaoLoginWithToken(request.toServiceDto());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class AuthControllerTest extends ControllerTest {

mockMvc
.perform(
post("/api/v1/auth/kakao-login-with-token")
post("/api/v1/auth/kakao-login/token")
.accept(APPLICATION_JSON)
.contentType(APPLICATION_JSON)
.content(objectMapper.writeValueAsString(request))
Expand Down

0 comments on commit 063f55a

Please sign in to comment.