Fixed: Enforce validation warnings when testing providers

pull/6171/head
Bogdan 7 months ago committed by Mark McDowall
parent f205cfabab
commit c3b4126d0c

@ -74,7 +74,7 @@ namespace Sonarr.Api.V3
if (providerDefinition.Enable)
{
Test(providerDefinition, false);
Test(providerDefinition, !forceSave);
}
providerDefinition = _providerFactory.Create(providerDefinition);
@ -92,7 +92,7 @@ namespace Sonarr.Api.V3
// Only test existing definitions if it is enabled and forceSave isn't set.
if (providerDefinition.Enable && !forceSave)
{
Test(providerDefinition, false);
Test(providerDefinition, true);
}
_providerFactory.Update(providerDefinition);

Loading…
Cancel
Save