Fix isGoogleLogin after merge.

This commit is contained in:
bertybuttface 2022-12-29 03:29:59 +00:00
parent 72fe67312d
commit b3af083b80

View File

@ -21,8 +21,7 @@ export const matrixPrefix = process.env.MATRIX_PREFIX as string;
/** ChatGPT specific stuff */
export const openAiEmail = process.env.OPENAI_EMAIL as string;
export const openAiPassword = process.env.OPENAI_PASSWORD as string;
export const isGoogleLogin = process.env.IS_GOOGLE_LOGIN && process.env.IS_GOOGLE_LOGIN.toLowerCase() === "true";
export const isGoogleLogin = process.env.IS_GOOGLE_LOGIN && process.env.IS_GOOGLE_LOGIN.toLowerCase() === "true" as string;
if(dataPath === undefined) {
console.error("DATA_PATH env variable is undefined");