Skip to content

Commit

Permalink
temp-fix: show latest 10 bots
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaskarSingh committed Mar 17, 2021
1 parent 6f59316 commit 78dc6d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/indexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const getAllNFTsMetadata = async () => {
const tokensMetataDataJSON = await tokensMetataData.json();

const tk = await fetch(
`https://api.better-call.dev/v1/bigmap/${INDEXER_NETWORK}/${tokens.value}/keys?size=${tokensMetataDataJSON.active_keys}`,
`https://api.better-call.dev/v1/bigmap/${INDEXER_NETWORK}/${tokens.value}/keys`,
);
const all_tokens = await tk.json();

Expand Down Expand Up @@ -69,7 +69,7 @@ export const nftOnOffer = async () => {
const offerMetadataJSON = await offerMetadata.json();

const tk = await fetch(
`https://api.better-call.dev/v1/bigmap/${INDEXER_NETWORK}/${tokens.value}/keys?size=${offerMetadataJSON.active_keys}`,
`https://api.better-call.dev/v1/bigmap/${INDEXER_NETWORK}/${tokens.value}/keys`,
);
const offers = await tk.json();

Expand Down

0 comments on commit 78dc6d5

Please sign in to comment.