From 1a78f7fe4f374eb3e7be8dedcfa1d9da90cc591a Mon Sep 17 00:00:00 2001 From: --systemdf Date: Fri, 29 Nov 2024 13:03:33 +0000 Subject: [PATCH] dumb 4 --- scripts/dex-router/src/router/jupiter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dex-router/src/router/jupiter.ts b/scripts/dex-router/src/router/jupiter.ts index c35a4630..f1884915 100644 --- a/scripts/dex-router/src/router/jupiter.ts +++ b/scripts/dex-router/src/router/jupiter.ts @@ -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( @@ -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=${