Skip to content

Commit 5fd5186

Browse files
authored
Update page.mdx (#5626)
1 parent 8234dba commit 5fd5186

File tree

1 file changed

+2
-2
lines changed
  • apps/portal/src/app/connect/auth/frameworks/next

1 file changed

+2
-2
lines changed

apps/portal/src/app/connect/auth/frameworks/next/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ import { privateKeyToAccount } from "thirdweb/wallets";
230230
import { client } from "@/lib/client";
231231
import { cookies } from "next/headers";
232232

233-
const privateKey = process.env.THIRDWEB_ADMIN_PRIVATE_KEY || "";
233+
const privateKey = process.env.AUTH_PRIVATE_KEY || "";
234234

235235
if (!privateKey) {
236-
throw new Error("Missing THIRDWEB_ADMIN_PRIVATE_KEY in .env file.");
236+
throw new Error("Missing AUTH_PRIVATE_KEY in .env file.");
237237
}
238238

239239
const thirdwebAuth = createAuth({

0 commit comments

Comments
 (0)