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