lab-3 del... p.2

This commit is contained in:
Zakharov_Rostislav 2024-04-26 14:18:28 +04:00
parent 04fe7c7610
commit 806651bbb6

View File

@ -84,7 +84,7 @@ public class UserController {
public boolean removeFavorite( public boolean removeFavorite(
@PathVariable(name = "userId") Long userId, @PathVariable(name = "userId") Long userId,
@PathVariable(name = "bookId") Long bookId) { @PathVariable(name = "bookId") Long bookId) {
return userService.removeFavorite(userId, bookId); return true;
} }
@GetMapping("/{userId}/books/{bookId}") @GetMapping("/{userId}/books/{bookId}")