good morning!!!!

Skip to content
Snippets Groups Projects
Verified Commit 6a0d1d22 authored by a's avatar a
Browse files

a

parent dcf769c2
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -109,12 +109,8 @@ func NewPostCodec(w http.ResponseWriter, r *http.Request) (*HttpCodec, error) {
}
c.msgs = serverutil.ParseBundle(data)
pathMethod := strings.TrimPrefix(r.URL.Path, "/")
for _, v := range c.msgs.Messages {
if v != nil {
if v.Method == "" {
v.Method = pathMethod
}
if v.ID == nil {
v.ID = jsonrpc.NewId(1)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment