From b3af083b80a21b689671914acfe4fbf230cb39a2 Mon Sep 17 00:00:00 2001 From: bertybuttface <110790513+bertybuttface@users.noreply.github.com> Date: Thu, 29 Dec 2022 03:29:59 +0000 Subject: [PATCH] Fix isGoogleLogin after merge. --- src/config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index 8c3d38b..47cb70a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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");