Skip to content

Commit

Permalink
fix: send report method
Browse files Browse the repository at this point in the history
  • Loading branch information
hhendrikk committed Oct 2, 2023
1 parent fae7fb1 commit d8bd732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anticaptcha/client.service.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (c *Client) Report(taskId float64, reportTaskType model.ReportTaskType) (*m
}

switch response["status"].(type) {
case float64:
case string:
var report model.ReportResponse
err = json.Unmarshal(r, &report)

Expand Down

0 comments on commit d8bd732

Please sign in to comment.