mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-20 23:57:59 +00:00
New: Add GoodreadsId to book object in webhook events
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user