Skip to content

Commit

Permalink
deleted console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Stevers committed May 4, 2023
1 parent 3198137 commit cd0595c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/fetchCoingeckoPrices.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const fetchCoingeckoPrices = async (pricingMetadata) => {
}
const addresses = pricingMetadata.map((metadata) => metadata.address);
const nonDupedAddresses = removeDuplicates(addresses);
console.log(nonDupedAddresses)
const commaDelimitedTokenAddresses = nonDupedAddresses.join(',');

let url = `https://api.coingecko.com/api/v3/simple/token_price/${network}?contract_addresses=${commaDelimitedTokenAddresses}&vs_currencies=usd`;
Expand Down
1 change: 0 additions & 1 deletion src/getContractParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const getContractParameters = async (
const issues = await getIssues(bountyIds, startAt, skip);

const newIssues = { ...previouslyFetchedIssues, ...issues };
console.log(Object.keys(issues).length, "issues length")
if (Object.keys(issues).length === 100) {
return await recursivelyGetIssues(startAt + skip, skip, newIssues);
}
Expand Down
3 changes: 0 additions & 3 deletions src/getIssues.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ const getIssues = async (bountyIds, startAt, skip) => {
const patsArray = process.env.PATS.split(",");
const token = patsArray[Math.floor(Math.random() * patsArray.length)];
const currentBountyIds = bountyIds.slice(startAt, startAt + skip);
console.log(currentBountyIds, "current ids")
console.log( startAt, skip, "pagination vars")
try {
result = await axios.post(
`https://api.github.com/graphql`,
Expand Down Expand Up @@ -36,7 +34,6 @@ if(result.data.errors){
repositoryId: node.repository.id,
};
});
console.log(indexedIssues)
return indexedIssues;
} catch (error) {
// GraphQL errors at error.response.data.errors
Expand Down

0 comments on commit cd0595c

Please sign in to comment.