Fixing test method
parent
18173ed486
commit
216d2a0851
|
@ -13,8 +13,8 @@ func NewCli() *Cli {
|
|||
return ret
|
||||
}
|
||||
|
||||
func (c *Cli) Test() (ret string, err error) {
|
||||
err = c.HttpCli().JsonPost("/ipc/autoit/test", nil, &ret)
|
||||
func (c *Cli) Test() (ret []byte, err error) {
|
||||
ret, err = c.HttpCli().RawPost("/ipc/autoit/test", nil)
|
||||
return ret, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue