Paulo Simão 2021-11-13 21:35:07 +00:00
parent c79c476473
commit 429580c010
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ type HttpReq struct {
func (c *Cli) Get(req *HttpReq, copts ...*api.CallOpts) (*HttpRes, error) {
res := &HttpRes{}
//err := c.HttpCli().JsonPost("/ipc/ocr/", opts, res)
err := api.Call("ocr.ocr", req, &res, copts...)
err := api.Call("frontend.handle", req, &res, copts...)
return res, err
}