diff --git a/apps/client-ts/src/lib/stytch/loadStytch.ts b/apps/client-ts/src/lib/stytch/loadStytch.ts index e412597c3..d59f3feb5 100644 --- a/apps/client-ts/src/lib/stytch/loadStytch.ts +++ b/apps/client-ts/src/lib/stytch/loadStytch.ts @@ -64,7 +64,7 @@ export const loadB2CStytch = () => { clientB2C = new stytch.Client({ project_id: process.env.NEXT_PUBLIC_STYTCH_PROJECT_ID || '', secret: process.env.NEXT_PUBLIC_STYTCH_SECRET || '', - env: process.env.STYTCH_PROJECT_ENV === 'live' ? stytch.envs.live : stytch.envs.test, + env: process.env.NEXT_PUBLIC_STYTCH_PROJECT_ENV === 'live' ? stytch.envs.live : stytch.envs.test, }); } return clientB2C;