File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/clap/server/adapter/inbound/web/admin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 88import lombok .RequiredArgsConstructor ;
99import org .springframework .security .access .annotation .Secured ;
1010import org .springframework .security .core .annotation .AuthenticationPrincipal ;
11- import org .springframework .web .bind .annotation .PatchMapping ;
11+ import org .springframework .web .bind .annotation .DeleteMapping ;
1212import org .springframework .web .bind .annotation .PathVariable ;
1313import org .springframework .web .bind .annotation .RequestMapping ;
1414
@@ -20,7 +20,7 @@ public class DeleteCategoryController {
2020 private final DeleteCategoryUsecase deleteCategoryUsecase ;
2121
2222 @ Operation (summary = "카테고리 삭제" )
23- @ PatchMapping ("/categories/{categoryId}" )
23+ @ DeleteMapping ("/categories/{categoryId}" )
2424 @ Secured ("ROLE_ADMIN" )
2525 public void deleteCategory (@ AuthenticationPrincipal SecurityUserDetails userInfo , @ PathVariable Long categoryId ) {
2626 deleteCategoryUsecase .deleteCategory (userInfo .getUserId (), categoryId );
You can’t perform that action at this time.
0 commit comments