Skip to content

Commit

Permalink
hotfix: Param 형식으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Sep 8, 2024
1 parent da6def0 commit e4c20aa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ ImagePathResponse uploadImage(@RequestPart("file") MultipartFile filePart, @Requ
return new ImagePathResponse(imageUseCase.getFileBaseUrl() + path, filePart.getOriginalFilename());
}

@DeleteMapping("/{url}")
@DeleteMapping
@ResponseStatus(HttpStatus.NO_CONTENT)
void deleteImage(@PathVariable String url) {
void deleteImage(@RequestParam String url) {
imageUseCase.deleteImage(url);
}

Expand Down

0 comments on commit e4c20aa

Please sign in to comment.