Fixing test method.
parent
2e48c5b2a6
commit
cc26a118a4
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue