diff --git a/http.go b/http.go index 6e88c57..24c78f8 100644 --- a/http.go +++ b/http.go @@ -207,7 +207,7 @@ func (it *httpServer) verifyRequest(r *http.Request, v interface{}) (error) { return err } - body := make([]byte, len(encBody)) + body = make([]byte, len(encBody)) cipher.Decrypt(body, encBody) err = json.Unmarshal(body, v)