Skip to content

Commit

Permalink
fix: 회원 정보 수정, 탈퇴 API 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Arachneee committed Dec 7, 2024
1 parent 497a592 commit 6981dcc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class UserController {
private final AuthService authService;
private final CookieProperties cookieProperties;

@PatchMapping("/api/admin/users")
@PatchMapping("/api/users")
public ResponseEntity<Void> updateUser(
@Login Long userId,
@Valid @RequestBody UserUpdateRequest request
Expand Down Expand Up @@ -64,7 +64,7 @@ public ResponseEntity<Void> kakaoLogin(
.build();
}

@DeleteMapping("/api/admin/users")
@DeleteMapping("/api/users")
public ResponseEntity<Void> deleteUser(@Login Long userId) {
userService.withdraw(userId);
return ResponseEntity.ok().build();
Expand Down

0 comments on commit 6981dcc

Please sign in to comment.