Skip to content

Commit

Permalink
엔드포인트 오타 수정 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
limehee committed Jul 30, 2024
1 parent 9855faf commit 5c6c5fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class LoginController {

@Operation(summary = "로그인", description = "ROLE_ANONYMOUS 이상의권한이 필요함<br>" +
"일반 계정일 경우 Device-Tag만 기입하면 됨")
@PostMapping("/api/vi/login")
@PostMapping("/api/v1/login")
public ApiResponse<TokenInfo> login(
@RequestHeader(value = "Device-Tag", defaultValue = "490154203237518") String deviceTag,
@RequestHeader(value = "Password", required = false) String password
Expand All @@ -32,7 +32,7 @@ public ApiResponse<TokenInfo> login(

@Operation(summary = "[U] 토큰 재발급", description = "ROLE_USER 이상의 권한이 필요함")
@Secured({ "ROLE_USER", "ROLE_ADMIN" })
@PostMapping("/api/vi/reissue")
@PostMapping("/api/v1/reissue")
public ApiResponse<TokenInfo> reissueToken(
HttpServletRequest request
) {
Expand Down

0 comments on commit 5c6c5fd

Please sign in to comment.