From ba66b436a3e501146b7e5f986b390a9e71117ee0 Mon Sep 17 00:00:00 2001 From: vladilen11 Date: Wed, 20 Sep 2023 09:05:04 +0800 Subject: [PATCH] Some nits. --- ecosystem/typescript/sdk/src/providers/indexer.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ecosystem/typescript/sdk/src/providers/indexer.ts b/ecosystem/typescript/sdk/src/providers/indexer.ts index 1ec1a0be27b99..6e0262de221f8 100644 --- a/ecosystem/typescript/sdk/src/providers/indexer.ts +++ b/ecosystem/typescript/sdk/src/providers/indexer.ts @@ -60,6 +60,7 @@ import { InputMaybe, Token_Activities_V2_Order_By, User_Transactions_Order_By, + Current_Objects_Order_By, } from "../indexer/generated/types"; /** @@ -884,7 +885,7 @@ export class IndexerClient { ownerAddress: MaybeHexString, extraArgs?: { options?: IndexerPaginationArgs; - orderBy?: IndexerSortBy[]; + orderBy?: IndexerSortBy[]; }, ): Promise { const address = HexString.ensure(ownerAddress).hex(); @@ -895,7 +896,7 @@ export class IndexerClient { }; const graphqlQuery = { - query: GetAccountTransactionsData, + query: GetCurrentObjects, variables: { where_condition: whereCondition, offset: extraArgs?.options?.offset,