fix: enforced dotenv config

This commit is contained in:
rafaelsideguide
2024-09-04 15:57:57 -03:00
parent 3f462eabe9
commit cb8571abad
16 changed files with 33 additions and 4 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { supabase_service } from "../supabase";
import { Logger } from "../../../src/lib/logger";
import "dotenv/config";
import { configDotenv } from "dotenv";
configDotenv();
export async function logCrawl(job_id: string, team_id: string) {
const useDbAuthentication = process.env.USE_DB_AUTHENTICATION === 'true';