We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0daa9b commit 0915870Copy full SHA for 0915870
index.ts
@@ -1,8 +1,8 @@
1
import app from './app';
2
import mongoose from 'mongoose';
3
+import Promise from 'bluebird';
4
-
5
-mongoose.Promise = global.Promise;
+mongoose.Promise = Promise;
6
7
mongoose.connect('mongodb://localhost:27017/which', { useNewUrlParser: true });
8
0 commit comments