Remove DownloadProtocol from v3 ReleaseResource

This commit is contained in:
Mark McDowall 2019-04-11 23:41:06 -07:00
parent 877235c8a2
commit b60d5f837e
1 changed files with 1 additions and 4 deletions

View File

@ -55,9 +55,6 @@ namespace Sonarr.Api.V3.Indexers
public int? Leechers { get; set; }
public DownloadProtocol Protocol { get; set; }
//TODO: besides a test I don't think this is used...
public DownloadProtocol DownloadProtocol { get; set; }
public bool IsDaily { get; set; }
public bool IsAbsoluteNumbering { get; set; }
public bool IsPossibleSpecialEpisode { get; set; }
@ -160,7 +157,7 @@ namespace Sonarr.Api.V3.Indexers
model.CommentUrl = resource.CommentUrl;
model.IndexerId = resource.IndexerId;
model.Indexer = resource.Indexer;
model.DownloadProtocol = resource.DownloadProtocol;
model.DownloadProtocol = resource.Protocol;
model.TvdbId = resource.TvdbId;
model.TvRageId = resource.TvRageId;
model.PublishDate = resource.PublishDate.ToUniversalTime();