Remove tutorials & add auth manager

This commit is contained in:
Yûki VACHOT 2021-10-30 00:40:51 +02:00
parent a748b93133
commit e87c4bb146
9 changed files with 46 additions and 198 deletions

View file

@ -6,7 +6,6 @@ mongoose.Promise = global.Promise;
const db = {};
db.mongoose = mongoose;
db.url = dbConfig.url;
db.tutorials = require("./tutorial.model")(mongoose);
db.users = require("./user.model")(mongoose);
module.exports = db;