From d4cad7cb743dced52749508defbcba7729d2fd7d Mon Sep 17 00:00:00 2001 From: jeezft Date: Wed, 18 Mar 2026 17:04:48 +0300 Subject: [PATCH] Remove warnings field from BaseResponse to fully ignore API warnings --- api/responses.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/api/responses.go b/api/responses.go index 6481ef4..6aef966 100644 --- a/api/responses.go +++ b/api/responses.go @@ -1,10 +1,5 @@ package api -type Warning struct { - Code int `json:"code"` - Wtxt string `json:"wtxt"` -} - type BaseResponse struct { Task int `json:"task"` Type int `json:"type"` @@ -19,7 +14,6 @@ type BaseResponse struct { ResAction int `json:"res_action"` Errortxt string `json:"errortxt"` AqErrortxt string `json:"aq_errortxt"` - Warnings []Warning `json:"warnings"` ErrorExtra interface{} `json:"error_extra"` }