Fixing test method

master
Pedro de Oliveira Guedes 2021-12-16 15:03:40 -03:00
parent 18173ed486
commit 216d2a0851
1 changed files with 2 additions and 2 deletions

View File

@ -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
}