Skip to content

Commit

Permalink
Update request.go
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Trombley <[email protected]>
  • Loading branch information
netramali and ctrombley authored Feb 5, 2025
1 parent 7fa2459 commit 4316bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ func unmarshalNode(data *Node, model reflect.Value, included *map[string]*Node)
// this indicates disassociating the relationship
isExplicitNull = true
} else if relationshipDecodeErr != nil {
er = fmt.Errorf("decode err %v\n", relationshipDecodeErr)
er = fmt.Errorf("Could not unmarshal json: %w", relationshipDecodeErr)
}

// This will hold either the value of the choice type model or the actual
Expand Down

0 comments on commit 4316bbf

Please sign in to comment.