From 90058608994d0ebb52c67f942e7e06d2a8cca697 Mon Sep 17 00:00:00 2001 From: gains goblin Date: Sun, 15 Dec 2024 14:17:03 -0500 Subject: [PATCH] Fixed: Mapping Author GR ID from import lists to AuthorGoodReadsId --- src/NzbDrone.Core/ImportLists/ImportListSyncService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/ImportLists/ImportListSyncService.cs b/src/NzbDrone.Core/ImportLists/ImportListSyncService.cs index 2054e520b..dd3e645ad 100644 --- a/src/NzbDrone.Core/ImportLists/ImportListSyncService.cs +++ b/src/NzbDrone.Core/ImportLists/ImportListSyncService.cs @@ -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) {