Fixed: (DigitalCore) Release InfoUrls not being set

pull/283/head
Qstick 3 years ago
parent 0ddc530dd4
commit 535f29bef4

@ -267,8 +267,11 @@ namespace NzbDrone.Core.Indexers.Definitions
release.Files = row.numfiles;
release.Grabs = row.times_completed;
release.Guid = new Uri(_settings.BaseUrl + "torrent/" + row.id.ToString() + "/").ToString();
var infoUrl = _settings.BaseUrl + "torrent/" + row.id.ToString() + "/";
release.Guid = infoUrl;
release.DownloadUrl = _settings.BaseUrl + "api/v1/torrents/download/" + row.id.ToString();
release.InfoUrl = infoUrl;
if (row.frileech == 1)
{

Loading…
Cancel
Save