From 0dff7d0d6a3d96dbdcf811bdb37e486a2dc00f9d Mon Sep 17 00:00:00 2001 From: Leonardo Domingues Date: Thu, 13 Jan 2022 09:49:37 -0300 Subject: [PATCH] =?UTF-8?q?Revers=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/anticaptcha/cli.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/anticaptcha/cli.go b/api/anticaptcha/cli.go index cb46a8f..74e2138 100644 --- a/api/anticaptcha/cli.go +++ b/api/anticaptcha/cli.go @@ -17,7 +17,7 @@ type Cli struct { type Req struct { Site string `json:"site"` Data string `json:"data"` - Img string `json:"img"` + Img []byte `json:"img"` To int `json:"to"` } @@ -26,7 +26,7 @@ func (c *Cli) Recaptchav2(site string, data string) (string, error) { req := &Req{ Site: site, Data: data, - Img: "", + Img: nil, To: 300, } err := c.HttpCli().JsonPost("/ipc/anticaptcha/recaptchav2", req, &ret)