diff --git a/protocol/json/client_response.go b/protocol/json/client_response.go index 2b1559d..2d419ea 100644 --- a/protocol/json/client_response.go +++ b/protocol/json/client_response.go @@ -32,6 +32,7 @@ func (crc *ClientResponseCodec) Result(result interface{}) error { if err := json.Unmarshal(*crc.res.Result, result); nil != err { return err } + return nil } return fmt.Errorf("There is no result")