aboutsummaryrefslogtreecommitdiff
path: root/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.ts b/index.ts
index b358fdb..6db8929 100644
--- a/index.ts
+++ b/index.ts
@@ -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 });