Using StringInterface instead of mapStringAny (#30211)

This commit is contained in:
Julien Tant 2025-02-13 20:14:08 -07:00 committed by GitHub
parent 68c11e9ecb
commit 06d8c92504
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,7 +145,7 @@ func TestPropertyField_Patch(t *testing.T) {
Type: NewPointer(PropertyFieldTypeSelect), Type: NewPointer(PropertyFieldTypeSelect),
TargetID: NewPointer("new_target"), TargetID: NewPointer("new_target"),
TargetType: NewPointer("new_type"), TargetType: NewPointer("new_type"),
Attrs: &map[string]any{"key": "value"}, Attrs: &StringInterface{"key": "value"},
} }
pf.Patch(patch) pf.Patch(patch)