lab-3 #2

Merged
Zakharov_Rostislav merged 22 commits from lab-3 into main 2024-05-23 12:01:06 +04:00
Showing only changes of commit 806651bbb6 - Show all commits

View File

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