feat(app): update
This commit is contained in:
@ -498,7 +498,7 @@ func NewApiException(statusCode int, header http.Header, body []byte) error {
|
||||
body: body,
|
||||
}
|
||||
|
||||
bodyObject := map[string]interface{}{}
|
||||
bodyObject := map[string]any{}
|
||||
if err := json.Unmarshal(body, &bodyObject); err == nil {
|
||||
if val, ok := bodyObject["code"]; ok {
|
||||
ret.errorCode = val.(string)
|
||||
|
||||
Reference in New Issue
Block a user