lab-3 #2
@ -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}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user