Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/203e2dbb109881508942b1905a2fc6ec59c562d3?style=split&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.

Remove mandatory validation for download client in indexers

pull/1920/head
Bogdan 1 year ago
parent 6169fc2fa3
commit 203e2dbb10

@ -15,7 +15,6 @@ namespace Prowlarr.Api.V1.Indexers
: base(indexerFactory, "indexer", resourceMapper, bulkResourceMapper) : base(indexerFactory, "indexer", resourceMapper, bulkResourceMapper)
{ {
Http.Validation.RuleBuilderExtensions.ValidId(SharedValidator.RuleFor(s => s.AppProfileId)); Http.Validation.RuleBuilderExtensions.ValidId(SharedValidator.RuleFor(s => s.AppProfileId));
Http.Validation.RuleBuilderExtensions.ValidId(SharedValidator.RuleFor(s => s.DownloadClientId));
SharedValidator.RuleFor(c => c.AppProfileId).SetValidator(appProfileExistsValidator); SharedValidator.RuleFor(c => c.AppProfileId).SetValidator(appProfileExistsValidator);
SharedValidator.RuleFor(c => c.DownloadClientId).SetValidator(downloadClientExistsValidator); SharedValidator.RuleFor(c => c.DownloadClientId).SetValidator(downloadClientExistsValidator);

Loading…
Cancel
Save