mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 16:06:24 +02:00
cleaned up handling of Unknown quality type.
This commit is contained in:
@@ -28,14 +28,14 @@ namespace NzbDrone.Api.Mapping
|
||||
|
||||
foreach (var sourceItem in (IEnumerable)source)
|
||||
{
|
||||
var e = Activator.CreateInstance(listSubType).InjectFrom(sourceItem);
|
||||
var e = Activator.CreateInstance(listSubType).InjectFrom<CloneInjection>(sourceItem);
|
||||
addMethod.Invoke(result, new[] { e });
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
return (TTarget)new TTarget().InjectFrom(source);
|
||||
return (TTarget)new TTarget().InjectFrom<CloneInjection>(source);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user