mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-16 18:00:48 +02:00
Fixed: (API) Allow new indexer request not to contain empty tags array
This commit is contained in:
parent
65a954b831
commit
5dfaa0db4b
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ public virtual TProviderDefinition ToModel(TProviderResource resource)
|
|||
Implementation = resource.Implementation,
|
||||
ConfigContract = resource.ConfigContract,
|
||||
Message = resource.Message,
|
||||
Tags = resource.Tags
|
||||
Tags = resource.Tags ?? new HashSet<int>()
|
||||
};
|
||||
|
||||
var configContract = ReflectionExtensions.CoreAssembly.FindTypeByName(definition.ConfigContract);
|
||||
|
|
|
|||
Loading…
Reference in a new issue