Fixing ClipRead function (from json to raw).
parent
e0f1a0ddd4
commit
ed392fd245
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue