Skip to content

Commit

Permalink
Fix the example in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fgfm999 committed Feb 15, 2025
1 parent 5fbe4ac commit be3c893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,11 @@ export class General {
* async function runExample() {
* // Querying the Aptos Indexer for ledger information
* const topUserTransactions = await aptos.queryIndexer({
* query: `query MyQuery {
* query: { query: `query MyQuery {
* ledger_infos {
* chain_id
* }
* }`
* }`}
* });
*
* console.log(topUserTransactions);
Expand Down

0 comments on commit be3c893

Please sign in to comment.