Skip to content

Commit

Permalink
[fix] 몇몇 api url 매핑 수정 ("/" -> "")
Browse files Browse the repository at this point in the history
  • Loading branch information
MinchoGreenT committed Sep 30, 2023
1 parent bbb7cea commit 5483883
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ChatController {

private final String flaskUrl = "http://localhost:5000";

@PostMapping("/")
@PostMapping("")
public BaseResponseDto<ChatResponseDto.Chat> chat(
@RequestBody ChatRequestDto.Chat request
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public BaseResponseDto<UserResponseDto.Register> join(
return userService.join(request);
}

@PatchMapping("/")
@PatchMapping("")
public BaseResponseDto<UserResponseDto.Logout> logout(
@RequestBody UserRequestDto.Logout request
) {
Expand All @@ -47,7 +47,7 @@ public BaseResponseDto<UserResponseDto.UpdateInfo> update(
request.getEmail(), request.getNewPassword(), request.getNewNickname());
}

@DeleteMapping("/")
@DeleteMapping("")
public BaseResponseDto<UserResponseDto.Withdraw> withdraw(
@RequestBody UserRequestDto.Withdraw request
) {
Expand Down

0 comments on commit 5483883

Please sign in to comment.