New: Add GoodreadsId to book object in webhook events

This commit is contained in:
Qstick 2023-02-22 22:19:36 -06:00
parent e22f284a14
commit d647b47e88

View file

@ -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; }