Fixed: Books added to match existing files have correct monitored status

(cherry picked from commit c98b22723aa8bf0bba2ce9f5b9ec74608c354751)
This commit is contained in:
ta264 2021-08-03 21:48:37 +01:00
parent 59c1bf0b1f
commit d8d09c2517

View file

@ -382,6 +382,7 @@ private Book EnsureBookAdded(List<ImportDecision<LocalBook>> decisions)
try
{
book.Monitored = book.Author.Value.Monitored;
book.Added = DateTime.UtcNow;
_bookService.InsertMany(new List<Book> { book });