Merge branch 'master' of ssh://gitea.digitalcircle.com.br:2222/open/replaycli-go

master
Leonardo Domingues 2021-12-01 15:27:12 -03:00
commit 9877e1819c
1 changed files with 2 additions and 3 deletions

View File

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