From 5978f6817e97eb4142022d6c536bd5581b56fc99 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 12 Apr 2018 11:59:49 +0900 Subject: [PATCH] ing --- servlet/rest-servlet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servlet/rest-servlet.go b/servlet/rest-servlet.go index 85ff4e8..156d802 100644 --- a/servlet/rest-servlet.go +++ b/servlet/rest-servlet.go @@ -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)) }