Fixing test method.

master
Pedro de Oliveira Guedes 2021-12-16 08:54:53 -03:00
parent 2e48c5b2a6
commit cc26a118a4
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/ahk/test", nil, &ret)
func (c *Cli) Test() (ret []byte, err error) {
ret, err = c.HttpCli().RawPost("/ipc/ahk/test", nil)
return ret, err
}