You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platforms/ereputation/api/src/utils/jwt.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,7 @@
1
1
importjwt,{JwtPayload}from"jsonwebtoken";
2
2
3
-
// Fail fast if JWT_SECRET is missing
4
3
if(!process.env.EREPUTATION_JWT_SECRET){
5
-
thrownewError("JWT_SECRET environment variable is required but was not provided. Please set JWT_SECRET in your environment configuration.");
4
+
thrownewError("EREPUTATION_JWT_SECRET environment variable is required but was not provided. Please set EREPUTATION_JWT_SECRET in your environment configuration.");
0 commit comments