fix(AntiGateV2): typo in errorId json tag
All checks were successful
release-tag / release (push) Successful in 1m52s

This commit is contained in:
sati.ac 2023-07-14 07:15:20 +03:00
parent dd10f15834
commit bd24760d7d
2 changed files with 2 additions and 2 deletions

@ -31,7 +31,7 @@ func (a *antigateV2Api) ServeHTTP(w http.ResponseWriter, r *http.Request) {
} }
type antigateError struct { type antigateError struct {
ErrorId uint32 `json:"erorrId"` ErrorId uint32 `json:"errorId"`
ErrorCode string `json:"errorCode"` ErrorCode string `json:"errorCode"`
ErrorDescription string `json:"errorDescription"` ErrorDescription string `json:"errorDescription"`
} }

@ -32,7 +32,7 @@ func (a *capSolverApi) ServeHTTP(w http.ResponseWriter, r *http.Request) {
} }
type capsolverError struct { type capsolverError struct {
ErrorId uint32 `json:"erorrId"` ErrorId uint32 `json:"errorId"`
ErrorCode string `json:"errorCode"` ErrorCode string `json:"errorCode"`
ErrorDescription string `json:"errorDescription"` ErrorDescription string `json:"errorDescription"`
} }