Fixed: Correctly return infohash in torznab response when available

This commit is contained in:
Qstick
2021-12-04 12:10:19 -06:00
parent 574568e71d
commit 08c68e26c1

View File

@@ -97,7 +97,7 @@ namespace NzbDrone.Core.IndexerSearch
GetNabElement("files", r.Files, protocol), GetNabElement("files", r.Files, protocol),
GetNabElement("grabs", r.Grabs, protocol), GetNabElement("grabs", r.Grabs, protocol),
GetNabElement("peers", t.Peers, protocol), GetNabElement("peers", t.Peers, protocol),
GetNabElement("infohash", RemoveInvalidXMLChars(r.Guid), protocol), GetNabElement("infohash", RemoveInvalidXMLChars(t.InfoHash), protocol),
GetNabElement("minimumratio", t.MinimumRatio, protocol), GetNabElement("minimumratio", t.MinimumRatio, protocol),
GetNabElement("minimumseedtime", t.MinimumSeedTime, protocol), GetNabElement("minimumseedtime", t.MinimumSeedTime, protocol),
GetNabElement("downloadvolumefactor", t.DownloadVolumeFactor, protocol), GetNabElement("downloadvolumefactor", t.DownloadVolumeFactor, protocol),