Fixed: Indexer flags for torrent release pushes

This commit is contained in:
Bogdan 2024-05-05 04:56:52 +03:00 committed by GitHub
parent ba88185dea
commit 47ba002806
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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