Fixed: (Rarbg) Blank baseUrl drop-down (#443)

* Fixed: (Rarbg) Blank baseUrl drop-down

* fixup! Using missing
pull/421/head^2
Qstick 3 years ago committed by GitHub
parent 1ef43c40c0
commit 682afc2c75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using NLog;
using NzbDrone.Common.Extensions;
using NzbDrone.Common.Http;
@ -167,6 +168,15 @@ namespace NzbDrone.Core.Indexers.Rarbg
captchaToken = cfClearanceCookie
};
}
else if (action == "getUrls")
{
var links = IndexerUrls;
return new
{
options = links.Select(d => new { Value = d, Name = d })
};
}
return new { };
}

Loading…
Cancel
Save