mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 01:01:34 +02:00
fixed broken test, cleaned up some code around config contracts.
This commit is contained in:
@@ -57,6 +57,8 @@ namespace NzbDrone.Api.ClientSchema
|
||||
|
||||
public static object ReadFormSchema(List<Field> fields, Type targetType)
|
||||
{
|
||||
Ensure.That(() => targetType).IsNotNull();
|
||||
|
||||
var properties = targetType.GetSimpleProperties();
|
||||
|
||||
var target = Activator.CreateInstance(targetType);
|
||||
|
Reference in New Issue
Block a user