Skip to content

Commit

Permalink
refactor: delete member API의 http method를 post로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
mangowhoiscloud committed Nov 7, 2024
1 parent 2dc1a73 commit a42d10d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ public ResponseEntity<DataResponse<Void>> signupMember(@RequestBody @Valid SignU
return ResponseEntity.status(HttpStatus.CREATED).body(DataResponse.created());
}

@DeleteMapping
@PostMapping
public ResponseEntity<DataResponse<Void>> deleteMember(@RequestBody DeleteMemberRequest deleteMemberRequest) {
memberService.deleteMember(deleteMemberRequest);

return ResponseEntity.status(HttpStatus.NO_CONTENT).body(DataResponse.noContent());
return ResponseEntity.status(HttpStatus.CREATED).body(DataResponse.noContent());
}

@PostMapping("/profile/presigned")
Expand Down

0 comments on commit a42d10d

Please sign in to comment.