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:
226
226
``` tsx
227
227
" use server" ;
228
228
import { VerifyLoginPayloadParams , createAuth } from " thirdweb/auth" ;
229
- import { privateKeyAccount } from " thirdweb/wallets" ;
229
+ import { privateKeyToAccount } from " thirdweb/wallets" ;
230
230
import { client } from " @/lib/client" ;
231
231
import { cookies } from " next/headers" ;
232
232
@@ -238,7 +238,7 @@ if (!privateKey) {
238
238
239
239
const thirdwebAuth = createAuth ({
240
240
domain: process .env .NEXT_PUBLIC_THIRDWEB_AUTH_DOMAIN || " " ,
241
- adminAccount: privateKeyAccount ({ client , privateKey }),
241
+ adminAccount: privateKeyToAccount ({ client , privateKey }),
242
242
client: client ,
243
243
});
244
244
You can’t perform that action at this time.
0 commit comments