Skip to content

Commit 43d9903

Browse files
author
Kevin Hellemun
committed
Flipped IsAssignableFrom statement. (#43)
1 parent 3e290c8 commit 43d9903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BunqSdk/Json/AnchorObjectConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist
5555

5656
public override bool CanConvert(Type objectType)
5757
{
58-
return objectType.IsAssignableFrom(typeof(IAnchorObjectInterface));
58+
return typeof(IAnchorObjectInterface).IsAssignableFrom(objectType);
5959
}
6060
}
6161
}

0 commit comments

Comments
 (0)