Skip to content

Commit

Permalink
dumb 4
Browse files Browse the repository at this point in the history
  • Loading branch information
anihamde committed Nov 29, 2024
1 parent bb8d8d5 commit 1a78f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/dex-router/src/router/jupiter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class JupiterRouter implements Router {
basePath,
});
}
this.quoteurl = new URL(`${basePath}/quote`);
this.quoteurl = new URL(`${basePath}/${apiKey}/quote`);
}

async route(
Expand All @@ -55,7 +55,7 @@ export class JupiterRouter implements Router {
console.log(`amountIn: ${amountIn}`);
console.log(`url: ${this.quoteurl.toString()}`);
console.log(`debugging, does this msg show up?`);
console.log(`once more version 1`);
console.log(`once more version 2`);

const quoteResponseDumb = await fetch(
`${this.quoteurl.toString()}?inputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&outputMint=So11111111111111111111111111111111111111112&amount=50000000&autoSlippage=true&maxAutoSlippageBps=50&maxAccounts=${
Expand Down

0 comments on commit 1a78f7f

Please sign in to comment.