From 9d78e5bfd8974fa20a7a179f029284d3f7eff306 Mon Sep 17 00:00:00 2001 From: ta264 Date: Thu, 2 Sep 2021 21:12:13 +0100 Subject: [PATCH] Fixed: Bookshelf not updating after adjusting monitored options --- src/Readarr.Api.V1/BookShelf/BookshelfController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Readarr.Api.V1/BookShelf/BookshelfController.cs b/src/Readarr.Api.V1/BookShelf/BookshelfController.cs index 2a6baa7e4..b38f9b382 100644 --- a/src/Readarr.Api.V1/BookShelf/BookshelfController.cs +++ b/src/Readarr.Api.V1/BookShelf/BookshelfController.cs @@ -18,7 +18,7 @@ public BookshelfController(IAuthorService authorService, IBookMonitoredService b } [HttpPost] - public IActionResult UpdateAll([FromBody] BookshelfResource request) + public ActionResult UpdateAll([FromBody] BookshelfResource request) { //Read from request var authorToUpdate = _authorService.GetAuthors(request.Authors.Select(s => s.Id)); @@ -40,7 +40,7 @@ public IActionResult UpdateAll([FromBody] BookshelfResource request) _bookMonitoredService.SetBookMonitoredStatus(author, request.MonitoringOptions); } - return Accepted(); + return Accepted(new object()); } } }