mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 12:42:51 +02:00
New: Add GoodreadsId to book object in webhook events
This commit is contained in:
parent
e22f284a14
commit
d647b47e88
1 changed files with 2 additions and 0 deletions
|
|
@ -12,11 +12,13 @@ public WebhookBook()
|
||||||
public WebhookBook(Book book)
|
public WebhookBook(Book book)
|
||||||
{
|
{
|
||||||
Id = book.Id;
|
Id = book.Id;
|
||||||
|
GoodreadsId = book.ForeignBookId;
|
||||||
Title = book.Title;
|
Title = book.Title;
|
||||||
ReleaseDate = book.ReleaseDate;
|
ReleaseDate = book.ReleaseDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
public string GoodreadsId { get; set; }
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
public DateTime? ReleaseDate { get; set; }
|
public DateTime? ReleaseDate { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue