ing
This commit is contained in:
@@ -104,7 +104,7 @@ func (s *RESTServlets) HandlePost(servletCtx server.ServletCtx, ctx *fasthttp.Re
|
||||
}
|
||||
|
||||
var jsonMap map[string]string
|
||||
if err := json.Unmarshal(buf, jsonMap); nil != err {
|
||||
if err := json.Unmarshal(buf, &jsonMap); nil != err {
|
||||
return csw.NewError(fasthttp.StatusBadRequest, fmt.Errorf("Parameter is not valied %v", err))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user