File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/portal/src/app/connect/auth/frameworks/next Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ Create an `actions` directory with a `login.ts` file with the following:
226226``` tsx
227227" use server" ;
228228import { VerifyLoginPayloadParams , createAuth } from " thirdweb/auth" ;
229- import { privateKeyAccount } from " thirdweb/wallets" ;
229+ import { privateKeyToAccount } from " thirdweb/wallets" ;
230230import { client } from " @/lib/client" ;
231231import { cookies } from " next/headers" ;
232232
@@ -238,7 +238,7 @@ if (!privateKey) {
238238
239239const thirdwebAuth = createAuth ({
240240 domain: process .env .NEXT_PUBLIC_THIRDWEB_AUTH_DOMAIN || " " ,
241- adminAccount: privateKeyAccount ({ client , privateKey }),
241+ adminAccount: privateKeyToAccount ({ client , privateKey }),
242242 client: client ,
243243});
244244
You can’t perform that action at this time.
0 commit comments