Fixed: Bookshelf not updating after adjusting monitored options

pull/1237/head
ta264 3 years ago
parent 0e5f45a457
commit 9d78e5bfd8

@ -18,7 +18,7 @@ namespace Readarr.Api.V1.Bookshelf
} }
[HttpPost] [HttpPost]
public IActionResult UpdateAll([FromBody] BookshelfResource request) public ActionResult<object> UpdateAll([FromBody] BookshelfResource request)
{ {
//Read from request //Read from request
var authorToUpdate = _authorService.GetAuthors(request.Authors.Select(s => s.Id)); var authorToUpdate = _authorService.GetAuthors(request.Authors.Select(s => s.Id));
@ -40,7 +40,7 @@ namespace Readarr.Api.V1.Bookshelf
_bookMonitoredService.SetBookMonitoredStatus(author, request.MonitoringOptions); _bookMonitoredService.SetBookMonitoredStatus(author, request.MonitoringOptions);
} }
return Accepted(); return Accepted(new object());
} }
} }
} }

Loading…
Cancel
Save