Skip to content

Commit 4c70f53

Browse files
committed
fix: routes page bridge api auth
1 parent 150a90c commit 4c70f53

File tree

1 file changed

+2
-2
lines changed
  • apps/dashboard/src/app/(dashboard)/(bridge)

1 file changed

+2
-2
lines changed

apps/dashboard/src/app/(dashboard)/(bridge)/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "server-only";
22

3-
import { BRIDGE_URL, DASHBOARD_THIRDWEB_CLIENT_ID } from "@/constants/env";
3+
import { BRIDGE_URL, DASHBOARD_THIRDWEB_SECRET_KEY } from "@/constants/env";
44
import type { Address } from "thirdweb";
55
import type { Route } from "./types/route";
66

@@ -39,7 +39,7 @@ export async function getRoutes({
3939
url.searchParams.set("destinationTokenAddress", destinationTokenAddress);
4040
}
4141
const routesResponse = await fetch(url, {
42-
headers: { "x-client-id": DASHBOARD_THIRDWEB_CLIENT_ID },
42+
headers: { "x-secret-key": DASHBOARD_THIRDWEB_SECRET_KEY },
4343
next: { revalidate: 60 * 60 },
4444
});
4545

0 commit comments

Comments
 (0)