Fixed: Mapping Author GR ID from import lists to AuthorGoodReadsId

This commit is contained in:
gains goblin 2024-12-15 14:17:03 -05:00 committed by bakerboy448
parent c67f67109e
commit 9005860899

View file

@ -184,7 +184,7 @@ private void MapBookReport(ImportListItemInfo report)
report.BookGoodreadsId = remoteBook.ForeignBookId;
report.Book = remoteBook.Title;
report.Author ??= remoteBook.AuthorMetadata.Value.Name;
report.AuthorGoodreadsId ??= remoteBook.AuthorMetadata.Value.Name;
report.AuthorGoodreadsId ??= remoteBook.AuthorMetadata.Value.ForeignAuthorId;
}
catch (BookNotFoundException)
{