Fixed: Adding book where the same author appears twice

Fixes #815
This commit is contained in:
ta264 2021-02-11 21:26:09 +00:00
parent 791bba471f
commit d22ca1fe4f

View file

@ -129,9 +129,6 @@ private Book AddSkyhookData(Book newBook)
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;
}
}