From 9edf18a52824ffcbec7c50d99a05d73af53b2617 Mon Sep 17 00:00:00 2001 From: nael Date: Fri, 19 Apr 2024 14:34:53 +0200 Subject: [PATCH] :bug: Fix typo env --- apps/client-ts/src/lib/stytch/loadStytch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;