From b60d5f837e37f36468ba670c3f59b1d0db2f3456 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 11 Apr 2019 23:41:06 -0700 Subject: [PATCH] Remove DownloadProtocol from v3 ReleaseResource --- src/Sonarr.Api.V3/Indexers/ReleaseResource.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Sonarr.Api.V3/Indexers/ReleaseResource.cs b/src/Sonarr.Api.V3/Indexers/ReleaseResource.cs index 213a7a944..86e345c1b 100644 --- a/src/Sonarr.Api.V3/Indexers/ReleaseResource.cs +++ b/src/Sonarr.Api.V3/Indexers/ReleaseResource.cs @@ -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();