Skip to content

Commit

Permalink
Some nits.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladilen11 committed Sep 20, 2023
1 parent bf6e722 commit ba66b43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ecosystem/typescript/sdk/src/providers/indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import {
InputMaybe,
Token_Activities_V2_Order_By,
User_Transactions_Order_By,
Current_Objects_Order_By,
} from "../indexer/generated/types";

/**
Expand Down Expand Up @@ -884,7 +885,7 @@ export class IndexerClient {
ownerAddress: MaybeHexString,
extraArgs?: {
options?: IndexerPaginationArgs;
orderBy?: IndexerSortBy<Account_Transactions_Order_By>[];
orderBy?: IndexerSortBy<Current_Objects_Order_By>[];
},
): Promise<GetCurrentObjectsQuery> {
const address = HexString.ensure(ownerAddress).hex();
Expand All @@ -895,7 +896,7 @@ export class IndexerClient {
};

const graphqlQuery = {
query: GetAccountTransactionsData,
query: GetCurrentObjects,
variables: {
where_condition: whereCondition,
offset: extraArgs?.options?.offset,
Expand Down

0 comments on commit ba66b43

Please sign in to comment.