removed search type from sonarr config

This commit is contained in:
Flaminel
2025-06-15 19:46:25 +03:00
parent 91274dac4b
commit 62eee94497
4 changed files with 3 additions and 20 deletions

View File

@@ -422,7 +422,6 @@ public class ConfigurationController : ControllerBase
config.Enabled = newConfigDto.Enabled;
config.FailedImportMaxStrikes = newConfigDto.FailedImportMaxStrikes;
config.SearchType = newConfigDto.SearchType;
// Validate the configuration
config.Validate();
@@ -587,8 +586,7 @@ public class ConfigurationController : ControllerBase
{
Name = newInstance.Name,
Url = new Uri(newInstance.Url),
ApiKey = newInstance.ApiKey,
ArrConfigId = config.Id
ApiKey = newInstance.ApiKey
};
// Add to the config