mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Optimize HandleJsonSelector() to avoid needless throws
This commit is contained in:
@@ -271,7 +271,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
|
||||
}
|
||||
}
|
||||
|
||||
return ApplyFilters(value.Trim(), selector.Filters, variables);
|
||||
return ApplyFilters(value?.Trim(), selector.Filters, variables) ?? null;
|
||||
}
|
||||
|
||||
protected Dictionary<string, object> GetBaseTemplateVariables()
|
||||
|
Reference in New Issue
Block a user