Skip to content

Commit

Permalink
New: Add GoodreadsId to book object in webhook events
Browse files Browse the repository at this point in the history
  • Loading branch information
Qstick committed Feb 23, 2023
1 parent e22f284 commit d647b47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NzbDrone.Core/Notifications/Webhook/WebhookBook.cs
Expand Up @@ -12,11 +12,13 @@ public WebhookBook()
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; }

Expand Down

0 comments on commit d647b47

Please sign in to comment.