From 203e2dbb109881508942b1905a2fc6ec59c562d3 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 25 Oct 2023 16:24:30 +0300 Subject: [PATCH] Remove mandatory validation for download client in indexers --- src/Prowlarr.Api.V1/Indexers/IndexerController.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Prowlarr.Api.V1/Indexers/IndexerController.cs b/src/Prowlarr.Api.V1/Indexers/IndexerController.cs index f64cf535f..972ae4426 100644 --- a/src/Prowlarr.Api.V1/Indexers/IndexerController.cs +++ b/src/Prowlarr.Api.V1/Indexers/IndexerController.cs @@ -15,7 +15,6 @@ namespace Prowlarr.Api.V1.Indexers : base(indexerFactory, "indexer", resourceMapper, bulkResourceMapper) { 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.DownloadClientId).SetValidator(downloadClientExistsValidator);