Skip to content

Commit

Permalink
fix token
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Feb 8, 2024
1 parent 2167357 commit b2552b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 593 deletions.
2 changes: 1 addition & 1 deletion examples/ethereum-erc20-balance-changes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (!substreamPackage.modules) {
}

// Connect Transport
const headers = new Headers({ "X-User-Agent": "@substreams/node", "X-Api-Key": SUBSTREAMS_API_KEY });
const headers = new Headers({ "X-User-Agent": "@substreams/node", "X-Api-Key": token });
const registry = createRegistry(substreamPackage);
const transport = createNodeTransport(baseUrl, token, registry, headers);
const request = createRequest({
Expand Down
Loading

0 comments on commit b2552b3

Please sign in to comment.