Skip to content

Commit 9387e0d

Browse files
committed
add nil
1 parent dfbcbfc commit 9387e0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

response.go

+1
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ func visitModelNodeRelation(model any, annotation string, args []string, node *N
405405
} else {
406406
node.Relationships[args[1]] = json.RawMessage("{\"data\":null}")
407407
}
408+
return nil
408409
} else if fieldValue.MapIndex(reflect.ValueOf(true)).IsValid() {
409410
// handle value
410411
fieldValue = fieldValue.MapIndex(reflect.ValueOf(true))

0 commit comments

Comments
 (0)