so many bugs
This commit is contained in:
parent
0ace13e75f
commit
f84cbadf2e
1 changed files with 1 additions and 1 deletions
2
http.go
2
http.go
|
@ -207,7 +207,7 @@ func (it *httpServer) verifyRequest(r *http.Request, v interface{}) (error) {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
body := make([]byte, len(encBody))
|
body = make([]byte, len(encBody))
|
||||||
cipher.Decrypt(body, encBody)
|
cipher.Decrypt(body, encBody)
|
||||||
|
|
||||||
err = json.Unmarshal(body, v)
|
err = json.Unmarshal(body, v)
|
||||||
|
|
Loading…
Reference in a new issue