diff --git a/entity_diff.go b/entity_diff.go index ba08dbb..2d59266 100644 --- a/entity_diff.go +++ b/entity_diff.go @@ -204,7 +204,7 @@ func RawEntityDiff(a map[string]interface{}, b map[string]interface{}, nilIsEmpt if aIsMap && bIsMap { subFieldsDelta, subFieldsAreDiff := RawEntityDiff(aVal.(map[string]interface{}), bVal.(map[string]interface{}), nilIsEmptyA, nilIsEmptyB) if subFieldsAreDiff { - delta[key] = subFieldsDelta + delta[key] = bVal isDiff = true } } else {