Skip to content

Commit 72f02b0

Browse files
author
Bart Koelman
committed
Fix cibuild
1 parent 6244ef7 commit 72f02b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JsonApiDotNetCore/Serialization/RequestAdapters/ResourceObjectAdapter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private void ConvertAttribute(IIdentifiable resource, string attributeName, obje
7171
AssertNoBlockedChange(attr, state);
7272
AssertNotReadOnly(attr, state);
7373

74-
attr.SetValue(resource, attributeValue);
74+
attr!.SetValue(resource, attributeValue);
7575
state.WritableTargetedFields.Attributes.Add(attr);
7676
}
7777

@@ -154,7 +154,7 @@ private void ConvertRelationship(string relationshipName, SingleOrManyData<Resou
154154

155155
object rightValue = _relationshipDataAdapter.Convert(relationshipData, relationship, true, state);
156156

157-
relationship.SetValue(resource, rightValue);
157+
relationship!.SetValue(resource, rightValue);
158158
state.WritableTargetedFields.Relationships.Add(relationship);
159159
}
160160
}

0 commit comments

Comments
 (0)