mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fixed broken tests
This commit is contained in:
@@ -66,7 +66,7 @@ namespace NzbDrone.Api.Mapping
|
|||||||
|
|
||||||
dynamic lazy = conventionInfo.SourceProp.Value;
|
dynamic lazy = conventionInfo.SourceProp.Value;
|
||||||
|
|
||||||
if (lazy.IsLoaded)
|
if (lazy.IsLoaded && lazy.Value != null)
|
||||||
{
|
{
|
||||||
if (conventionInfo.TargetProp.Type.IsAssignableFrom(sourceArgument))
|
if (conventionInfo.TargetProp.Type.IsAssignableFrom(sourceArgument))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user