diff --git a/lib/index.js b/lib/index.js index c020ad5..a1e4a82 100644 --- a/lib/index.js +++ b/lib/index.js @@ -6,6 +6,7 @@ Hoek = require("hoek"); mongoose = require('mongoose'); + mongoose.Promise = global.Promise; Mixed = mongoose.Schema.Types.Mixed;