lab-3 del... p.2
This commit is contained in:
parent
04fe7c7610
commit
806651bbb6
@ -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