mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
Remove DownloadProtocol from v3 ReleaseResource
This commit is contained in:
parent
877235c8a2
commit
b60d5f837e
@ -55,9 +55,6 @@ public class ReleaseResource : RestResource
|
|||||||
public int? Leechers { get; set; }
|
public int? Leechers { get; set; }
|
||||||
public DownloadProtocol Protocol { 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 IsDaily { get; set; }
|
||||||
public bool IsAbsoluteNumbering { get; set; }
|
public bool IsAbsoluteNumbering { get; set; }
|
||||||
public bool IsPossibleSpecialEpisode { get; set; }
|
public bool IsPossibleSpecialEpisode { get; set; }
|
||||||
@ -160,7 +157,7 @@ public static ReleaseInfo ToModel(this ReleaseResource resource)
|
|||||||
model.CommentUrl = resource.CommentUrl;
|
model.CommentUrl = resource.CommentUrl;
|
||||||
model.IndexerId = resource.IndexerId;
|
model.IndexerId = resource.IndexerId;
|
||||||
model.Indexer = resource.Indexer;
|
model.Indexer = resource.Indexer;
|
||||||
model.DownloadProtocol = resource.DownloadProtocol;
|
model.DownloadProtocol = resource.Protocol;
|
||||||
model.TvdbId = resource.TvdbId;
|
model.TvdbId = resource.TvdbId;
|
||||||
model.TvRageId = resource.TvRageId;
|
model.TvRageId = resource.TvRageId;
|
||||||
model.PublishDate = resource.PublishDate.ToUniversalTime();
|
model.PublishDate = resource.PublishDate.ToUniversalTime();
|
||||||
|
Loading…
Reference in New Issue
Block a user