Nun mit login und Einrichten zusätzlicher User
This commit is contained in:
@@ -21,7 +21,7 @@ export async function initMongo() {
|
||||
const client = new MongoClient(MONGO_URL);
|
||||
await client.connect();
|
||||
db = client.db(DB_NAME);
|
||||
usersCollection = db.collection('users');
|
||||
usersCollection = db.collection('user');
|
||||
prop_fluxCollection = db.collection('prop_flux');
|
||||
propertiesCollection = db.collection('properties')
|
||||
return { db, usersCollection, prop_fluxCollection, propertiesCollection};
|
||||
|
||||
Reference in New Issue
Block a user