mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Changed the TV Request API. We now only require the TvDbId and the seasons and episodes that you want to request. This should make integration regarding TV a lot easier.
This commit is contained in:
parent
71157052b3
commit
d15e09d342
11 changed files with 146 additions and 44 deletions
|
|
@ -10,7 +10,7 @@ namespace Ombi.Store.Repository.Requests
|
|||
public class SeasonRequests : Entity
|
||||
{
|
||||
public int SeasonNumber { get; set; }
|
||||
public List<EpisodeRequests> Episodes { get; set; }
|
||||
public List<EpisodeRequests> Episodes { get; set; } = new List<EpisodeRequests>();
|
||||
|
||||
public int ChildRequestId { get; set; }
|
||||
[ForeignKey(nameof(ChildRequestId))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue