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

pull/2558/head
Qstick 3 years ago
parent f106c01d43
commit a93f55205a

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

Loading…
Cancel
Save