Removed a console log

This commit is contained in:
Smultar 2024-01-06 20:21:45 -06:00
parent db1250015a
commit 225d8f021d

View File

@ -4,8 +4,6 @@ import mongoose from "mongoose";
const { MONGODB_USERNAME, MONGODB_PASSWORD, MONGODB_URL, MONGODB_DATABASE, MONGODB_PORT } = env; const { MONGODB_USERNAME, MONGODB_PASSWORD, MONGODB_URL, MONGODB_DATABASE, MONGODB_PORT } = env;
console.log(process.env);
if (MONGODB_USERNAME === undefined) { if (MONGODB_USERNAME === undefined) {
throw new Error("MONGODB_USERNAME not found. Make sure you have a .env file in the root of the project!"); throw new Error("MONGODB_USERNAME not found. Make sure you have a .env file in the root of the project!");
} }