Fixed: Indexer flags for torrent release pushes
This commit is contained in:
parent
ba88185dea
commit
47ba002806
|
@ -174,7 +174,8 @@ namespace Sonarr.Api.V3.Indexers
|
|||
MagnetUrl = resource.MagnetUrl,
|
||||
InfoHash = resource.InfoHash,
|
||||
Seeders = resource.Seeders,
|
||||
Peers = (resource.Seeders.HasValue && resource.Leechers.HasValue) ? (resource.Seeders + resource.Leechers) : null
|
||||
Peers = (resource.Seeders.HasValue && resource.Leechers.HasValue) ? (resource.Seeders + resource.Leechers) : null,
|
||||
IndexerFlags = (IndexerFlags)resource.IndexerFlags
|
||||
};
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue