Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
stantanasi committed Dec 8, 2021
1 parent af06eb2 commit 539ddfb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class JsonApiRequestConverter : Converter<Any, RequestBody> {
}
else -> when {
it.prop.isJsonApiAttribute() -> {
attributes.put(it.prop.name, it.prop.call(value) ?: JSONObject.NULL)
attributes.put(it.prop.name, propValue ?: JSONObject.NULL)
}
it.prop.isJsonApiRelationship() -> {
relationships.put(it.prop.name,
Expand Down

0 comments on commit 539ddfb

Please sign in to comment.