Skip to content

Commit

Permalink
Fix auto-generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Oct 24, 2024
1 parent 9884997 commit 683b697
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/vendors/oasisscan-v2/apis/AccountApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

/**
Expand Down Expand Up @@ -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));
}

/**
Expand Down Expand Up @@ -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));
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/vendors/oasisscan-v2/apis/ChainApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

/**
Expand Down Expand Up @@ -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));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/vendors/oasisscan-v2/apis/ValidatorApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

/**
Expand Down

0 comments on commit 683b697

Please sign in to comment.