diff options
Diffstat (limited to 'index.ts')
-rw-r--r-- | index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ import app from './app'; import mongoose from 'mongoose'; +import Promise from 'bluebird'; - -mongoose.Promise = global.Promise; +mongoose.Promise = Promise; mongoose.connect('mongodb://localhost:27017/which', { useNewUrlParser: true }); |