Remove DownloadProtocol from v3 ReleaseResource

pull/3072/head
Mark McDowall 6 years ago
parent 877235c8a2
commit b60d5f837e

@ -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();

Loading…
Cancel
Save