diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2023-03-25 21:25:43 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2023-03-25 21:27:41 -0400 |
| commit | 1a7a627446edfeb270850f0ed15c9c8d604380b2 (patch) | |
| tree | 8435e5323ce8a81976cafe297a6c730b4f0695da /plugins/mongo.js | |
| parent | 85a8f11507c0fb74b67914090bdfe10c361b775e (diff) | |
| download | AleeBot-1a7a627446edfeb270850f0ed15c9c8d604380b2.tar.gz AleeBot-1a7a627446edfeb270850f0ed15c9c8d604380b2.tar.bz2 AleeBot-1a7a627446edfeb270850f0ed15c9c8d604380b2.zip | |
Now using sequelize; Minor tweaks; New activities
Diffstat (limited to 'plugins/mongo.js')
| -rw-r--r-- | plugins/mongo.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/mongo.js b/plugins/mongo.js deleted file mode 100644 index 0102aab..0000000 --- a/plugins/mongo.js +++ /dev/null @@ -1,10 +0,0 @@ -const mongoose = require('mongoose'); -const { mongoPath } = require('../tokens.json'); - -module.exports = async () => { - await mongoose.connect(mongoPath, { - useNewUrlParser: true, - useUnifiedTopology: true, - }); - return mongoose; -}
\ No newline at end of file |
