We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 150a90c commit 4c70f53Copy full SHA for 4c70f53
apps/dashboard/src/app/(dashboard)/(bridge)/utils.ts
@@ -1,6 +1,6 @@
1
import "server-only";
2
3
-import { BRIDGE_URL, DASHBOARD_THIRDWEB_CLIENT_ID } from "@/constants/env";
+import { BRIDGE_URL, DASHBOARD_THIRDWEB_SECRET_KEY } from "@/constants/env";
4
import type { Address } from "thirdweb";
5
import type { Route } from "./types/route";
6
@@ -39,7 +39,7 @@ export async function getRoutes({
39
url.searchParams.set("destinationTokenAddress", destinationTokenAddress);
40
}
41
const routesResponse = await fetch(url, {
42
- headers: { "x-client-id": DASHBOARD_THIRDWEB_CLIENT_ID },
+ headers: { "x-secret-key": DASHBOARD_THIRDWEB_SECRET_KEY },
43
next: { revalidate: 60 * 60 },
44
});
45
0 commit comments