Skip to content

Commit e78a3f3

Browse files
committed
fix tests
1 parent bd462e3 commit e78a3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonApiDotNetCore/Serialization/JsonApiDeSerializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private object SetHasOneRelationship(object entity,
177177
if (relationshipAttr == null)
178178
throw new JsonApiException(400, $"{_jsonApiContext.RequestEntity.EntityName} does not contain a relationship '{relationshipName}'");
179179

180-
var data = (Dictionary<string, string>) relationshipData.ExposedData;
180+
var data = (Dictionary<string, object>) relationshipData.ExposedData;
181181

182182
if (data == null) return entity;
183183

0 commit comments

Comments
 (0)