mirror of
https://github.com/Readarr/Readarr
synced 2026-01-17 04:53:26 +01:00
Fixed: Bookshelf not updating after adjusting monitored options
This commit is contained in:
parent
0e5f45a457
commit
9d78e5bfd8
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ public BookshelfController(IAuthorService authorService, IBookMonitoredService b
|
|||
}
|
||||
|
||||
[HttpPost]
|
||||
public IActionResult UpdateAll([FromBody] BookshelfResource request)
|
||||
public ActionResult<object> 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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue