|
|
@@ -144,7 +144,7 @@ func (this *HTTPServer) ServeHTTP(responseStream http.ResponseWriter, requestStr
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- buffer, err := json.Marshal(query)
|
|
|
+ buffer, err := json.Marshal(&query)
|
|
|
if err != nil {
|
|
|
this.log.Error("malformed request body", LogValue("path", requestStream.URL.Path), LogError(err))
|
|
|
responseStream.WriteHeader(http.StatusInternalServerError)
|