Fixed: Adding book where the same author appears twice

Fixes #815
pull/838/head
ta264 4 years ago
parent 791bba471f
commit d22ca1fe4f

@ -129,9 +129,6 @@ namespace NzbDrone.Core.Books
newBook.Editions.Value.ForEach(x => x.Monitored = false);
newBook.Editions.Value.Single(x => x.ForeignEditionId == editionId).Monitored = true;
var metadata = tuple.Item3.Single(x => x.ForeignAuthorId == tuple.Item1);
newBook.AuthorMetadata = metadata;
return newBook;
}
}

Loading…
Cancel
Save