Skip to content

Commit be0650c

Browse files
author
Cédric Magne
authored
fix(mm-login): add console log to check vercel_env value (#1575)
* fix(mm-login): add console log to check vercel_env value * fix(mm-login): add console log to check vercel_env value
1 parent 79dd3b9 commit be0650c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/AuthLogin/AuthModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
saveTokenString,
1313
getUserIdFromJwtToken,
1414
} from "../../lib/siwsrp/auth";
15-
import { DASHBOARD_URL, REQUEST_PARAMS, REF_PATH } from "@site/src/lib/constants";
15+
import { DASHBOARD_URL, REQUEST_PARAMS } from "@site/src/lib/constants";
1616
import { MetamaskProviderContext } from "@site/src/theme/Root";
1717

1818
Modal.setAppElement("#__docusaurus");

src/lib/siwsrp/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export const auth = new JwtBearerAuth(
5757
export const authenticateAndAuthorize = async (env: string) => {
5858
let accessToken: string, userProfile: SDK.UserProfile;
5959
VERCEL_ENV = env;
60+
console.log(VERCEL_ENV)
6061
try {
6162
await auth.connectSnap();
6263
accessToken = await auth.getAccessToken();

0 commit comments

Comments
 (0)