Skip to content

Commit

Permalink
Merge 262d50d into c7fa51d
Browse files Browse the repository at this point in the history
  • Loading branch information
oyk666 authored Feb 8, 2024
2 parents c7fa51d + 262d50d commit 2e03f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoding/form/proto_encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func encodeRepeatedField(fieldDescriptor protoreflect.FieldDescriptor, list prot
func encodeMapField(fieldDescriptor protoreflect.FieldDescriptor, mp protoreflect.Map) (map[string]string, error) {
m := make(map[string]string)
mp.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool {
key, err := EncodeField(fieldDescriptor.MapValue(), k.Value())
key, err := EncodeField(fieldDescriptor.MapKey(), k.Value())
if err != nil {
return false
}
Expand Down

0 comments on commit 2e03f06

Please sign in to comment.