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 return ret
} }
func (c *Cli) Test() (ret string, err error) { func (c *Cli) Test() (ret []byte, err error) {
err = c.HttpCli().JsonPost("/ipc/ahk/test", nil, &ret) ret, err = c.HttpCli().RawPost("/ipc/ahk/test", nil)
return ret, err return ret, err
} }