From bd24760d7d772d5d3e3cb84a14f314a03d3d0764 Mon Sep 17 00:00:00 2001 From: "sati.ac" Date: Fri, 14 Jul 2023 07:15:20 +0300 Subject: [PATCH] fix(AntiGateV2): typo in `errorId` json tag --- api/AntiGateV2.go | 2 +- api/CapSolver.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/AntiGateV2.go b/api/AntiGateV2.go index 9b3b94d..210fd2b 100644 --- a/api/AntiGateV2.go +++ b/api/AntiGateV2.go @@ -31,7 +31,7 @@ func (a *antigateV2Api) ServeHTTP(w http.ResponseWriter, r *http.Request) { } type antigateError struct { - ErrorId uint32 `json:"erorrId"` + ErrorId uint32 `json:"errorId"` ErrorCode string `json:"errorCode"` ErrorDescription string `json:"errorDescription"` } diff --git a/api/CapSolver.go b/api/CapSolver.go index 03bdebd..fc1e82c 100644 --- a/api/CapSolver.go +++ b/api/CapSolver.go @@ -32,7 +32,7 @@ func (a *capSolverApi) ServeHTTP(w http.ResponseWriter, r *http.Request) { } type capsolverError struct { - ErrorId uint32 `json:"erorrId"` + ErrorId uint32 `json:"errorId"` ErrorCode string `json:"errorCode"` ErrorDescription string `json:"errorDescription"` }