From 683b69769802cf0552042ba3fc56b83e0ed27976 Mon Sep 17 00:00:00 2001 From: Michal Zielenkiewicz Date: Thu, 24 Oct 2024 20:48:49 +0200 Subject: [PATCH] Fix auto-generated files --- src/vendors/oasisscan-v2/apis/AccountApi.ts | 6 +++--- src/vendors/oasisscan-v2/apis/ChainApi.ts | 4 ++-- src/vendors/oasisscan-v2/apis/ValidatorApi.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/vendors/oasisscan-v2/apis/AccountApi.ts b/src/vendors/oasisscan-v2/apis/AccountApi.ts index bf7a0de4af..687a4a0fdc 100644 --- a/src/vendors/oasisscan-v2/apis/AccountApi.ts +++ b/src/vendors/oasisscan-v2/apis/AccountApi.ts @@ -122,7 +122,7 @@ export class AccountApi extends runtime.BaseAPI { query: queryParameters, }); - return new runtime.JSONApiResponse(response, (jsonValue) => AccountDebondingResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => AccountDebondingResponseFromJSON(jsonValue.data)); } /** @@ -178,7 +178,7 @@ export class AccountApi extends runtime.BaseAPI { query: queryParameters, }); - return new runtime.JSONApiResponse(response, (jsonValue) => AccountDelegationsResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => AccountDelegationsResponseFromJSON(jsonValue.data)); } /** @@ -206,7 +206,7 @@ export class AccountApi extends runtime.BaseAPI { query: queryParameters, }); - return new runtime.JSONApiResponse(response, (jsonValue) => AccountInfoResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => AccountInfoResponseFromJSON(jsonValue.data)); } /** diff --git a/src/vendors/oasisscan-v2/apis/ChainApi.ts b/src/vendors/oasisscan-v2/apis/ChainApi.ts index 460518fa04..546148ba3c 100644 --- a/src/vendors/oasisscan-v2/apis/ChainApi.ts +++ b/src/vendors/oasisscan-v2/apis/ChainApi.ts @@ -260,7 +260,7 @@ export class ChainApi extends runtime.BaseAPI { query: queryParameters, }); - return new runtime.JSONApiResponse(response, (jsonValue) => ChainTransactionInfoResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => ChainTransactionInfoResponseFromJSON(jsonValue.data)); } /** @@ -312,7 +312,7 @@ export class ChainApi extends runtime.BaseAPI { query: queryParameters, }); - return new runtime.JSONApiResponse(response, (jsonValue) => ChainTransactionsResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => ChainTransactionsResponseFromJSON(jsonValue.data)); } /** diff --git a/src/vendors/oasisscan-v2/apis/ValidatorApi.ts b/src/vendors/oasisscan-v2/apis/ValidatorApi.ts index 1032c2ebac..f26b374a2d 100644 --- a/src/vendors/oasisscan-v2/apis/ValidatorApi.ts +++ b/src/vendors/oasisscan-v2/apis/ValidatorApi.ts @@ -298,7 +298,7 @@ export class ValidatorApi extends runtime.BaseAPI { query: queryParameters, }); - return new runtime.JSONApiResponse(response, (jsonValue) => ValidatorListResponseFromJSON(jsonValue)); + return new runtime.JSONApiResponse(response, (jsonValue) => ValidatorListResponseFromJSON(jsonValue.data)); } /**