master
gongluck 11 months ago committed by GitHub
parent 919477ffe4
commit 8c2f4c1899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,7 +34,7 @@ func NewRequestParser(r *http.Request, resolver jsonpb.AnyResolver) (grpcurl.Req
} }
m := make(map[string]any) m := make(map[string]any)
if err := json.NewDecoder(body).Decode(&m); err != nil { if err := json.NewDecoder(body).Decode(&m); err != nil && err != io.EOF {
return nil, err return nil, err
} }

Loading…
Cancel
Save