Fixed: (API) Allow new indexer request not to contain empty tags array

pull/1452/head
Bogdan 1 year ago
parent 65a954b831
commit 5dfaa0db4b

@ -61,7 +61,7 @@ namespace Prowlarr.Api.V1
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…
Cancel
Save