mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-29 08:10:51 +02:00
Optimize HandleJsonSelector() to avoid needless throws
This commit is contained in:
parent
c83c818380
commit
574568e71d
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ protected string HandleJsonSelector(SelectorBlock selector, JToken parentObj, Di
|
|||
}
|
||||
}
|
||||
|
||||
return ApplyFilters(value.Trim(), selector.Filters, variables);
|
||||
return ApplyFilters(value?.Trim(), selector.Filters, variables) ?? null;
|
||||
}
|
||||
|
||||
protected Dictionary<string, object> GetBaseTemplateVariables()
|
||||
|
|
|
|||
Loading…
Reference in a new issue