Fixed: NullRef in SchemaBuilder when sending payload without optional Provider.Settings fields

pull/699/head
Qstick 3 years ago
parent 147cdf2cce
commit 62d15536df

@ -47,8 +47,11 @@ namespace Prowlarr.Http.ClientSchema
var propertyType = mapping.PropertyType;
var field = fields.Find(f => f.Name == mapping.Field.Name);
if (field != null)
{
mapping.SetterFunc(target, field.Value);
}
}
return target;
}

Loading…
Cancel
Save