From d647b47e882e4acf7ef472fb773a4991e4cb2e06 Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 22 Feb 2023 22:19:36 -0600 Subject: [PATCH] New: Add GoodreadsId to book object in webhook events --- src/NzbDrone.Core/Notifications/Webhook/WebhookBook.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Notifications/Webhook/WebhookBook.cs b/src/NzbDrone.Core/Notifications/Webhook/WebhookBook.cs index 59302ed7f..0e9e3cdbd 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/WebhookBook.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/WebhookBook.cs @@ -12,11 +12,13 @@ namespace NzbDrone.Core.Notifications.Webhook public WebhookBook(Book book) { Id = book.Id; + GoodreadsId = book.ForeignBookId; Title = book.Title; ReleaseDate = book.ReleaseDate; } public int Id { get; set; } + public string GoodreadsId { get; set; } public string Title { get; set; } public DateTime? ReleaseDate { get; set; }