Skip to content

Commit

Permalink
refactor : delete url이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
MyunghyunNero committed Nov 21, 2023
1 parent 8988f65 commit d0fc797
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 @@ -99,7 +99,7 @@ public ResponseEntity<BaseResponse<ArchiveDetailRes>> getArchivesEditable(
"message": "작성자가 아닙니다."\n
}
""")
@DeleteMapping("/delete")
@DeleteMapping("/delArchive")
public ResponseEntity<BaseResponse> delArchive(
Principal principal,

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/kusitms/gallae/controller/ReviewController.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ public ResponseEntity<BaseResponse<ReviewDetailRes>> getReviewEditable(
"message": "작성자가 아닙니다."\n
}
""")
@DeleteMapping("/delete")
public ResponseEntity<BaseResponse> delArchive(
@DeleteMapping("/delReview")
public ResponseEntity<BaseResponse> delReview(
Principal principal,

@Parameter(description = "후기 아이디")
Expand Down

0 comments on commit d0fc797

Please sign in to comment.