ing
This commit is contained in:
parent
d061f15efb
commit
b80a7aa06d
|
@ -49,7 +49,7 @@ func (ccr *ClientCodecResponse) ID() interface{} {
|
||||||
|
|
||||||
func (ccr *ClientCodecResponse) Result(result interface{}) error {
|
func (ccr *ClientCodecResponse) Result(result interface{}) error {
|
||||||
if ccr.err == nil && ccr.response.Result != nil {
|
if ccr.err == nil && ccr.response.Result != nil {
|
||||||
if err := json.Unmarshal(*ccr.response.Result, result); err != nil {
|
if err := json.Unmarshal(*ccr.response.Result, &result); err != nil {
|
||||||
params := [1]interface{}{result}
|
params := [1]interface{}{result}
|
||||||
if err = json.Unmarshal(*ccr.response.Result, ¶ms); err != nil {
|
if err = json.Unmarshal(*ccr.response.Result, ¶ms); err != nil {
|
||||||
ccr.err = err
|
ccr.err = err
|
||||||
|
|
Loading…
Reference in New Issue
Block a user