Skip to content
Snippets Groups Projects
Commit e74380a1 authored by 찬주 이's avatar 찬주 이
Browse files

Add delete Favorite

parent fb2a2557
No related branches found
No related tags found
No related merge requests found
Pipeline #8373 failed
...@@ -55,7 +55,7 @@ public class MyspringwebController { ...@@ -55,7 +55,7 @@ public class MyspringwebController {
@DeleteMapping(value = "/likes/{id}") @DeleteMapping(value = "/likes/{id}")
public ResponseEntity<String> deleteLikes(@PathVariable String id) { public ResponseEntity<String> deleteLikes(@PathVariable String id) {
service.deleteFavorite(id); service.deleteFavorite(id);
return ResponseEntity.ok("Deleted"); return ResponseEntity.ok("Deleted ID: " + id);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment