Skip to content
Snippets Groups Projects
Commit 343fa90e authored by Karsch Lukas's avatar Karsch Lukas
Browse files

correct status code when deleting wishlist entry

parent b29cfb8b
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -73,7 +73,7 @@ public class WishListController {
@AuthenticationPrincipal User user
) {
wishListService.removeFromWishList(plantId, user);
return ResponseEntity.ok(null);
return ResponseEntity.status(204).build();
}
@DeleteMapping("/remove/all")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment