mirror of https://github.com/Radarr/Radarr
Fixed: Enforce validation warnings when testing providers
(cherry picked from commit c3b4126d0c4f449a41e2cf7ea438b20e25370995)
This commit is contained in:
parent
524657ad78
commit
ccc62f0450
|
@ -73,7 +73,7 @@ namespace Radarr.Api.V3
|
|||
|
||||
if (providerDefinition.Enable)
|
||||
{
|
||||
Test(providerDefinition, false);
|
||||
Test(providerDefinition, !forceSave);
|
||||
}
|
||||
|
||||
providerDefinition = _providerFactory.Create(providerDefinition);
|
||||
|
@ -91,7 +91,7 @@ namespace Radarr.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…
Reference in New Issue