Removed a console log
This commit is contained in:
parent
db1250015a
commit
225d8f021d
@ -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!");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user