Fixing ClipRead function (from json to raw).

master
Pe-Guedss 2021-12-01 14:17:18 -03:00
parent e0f1a0ddd4
commit ed392fd245
1 changed files with 2 additions and 3 deletions

View File

@ -59,9 +59,8 @@ type DEVMODE struct {
}
func (c *Cli) ClipRead() (string, error) {
ret := ""
err := c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/clip/read"), &ret)
return ret, err
bs, err := c.HttpCli().RawGet(fmt.Sprintf("/ipc/wingui/clip/read"))
return string(bs), err
}
func (c *Cli) ClipWrite(site string) error {