Merge pull request #2837 from overleaf/msm-set-native-promise-mongoose

Set Mongoose to explicitly use native promises

GitOrigin-RevId: 551dfbbc51233bace25699fd8d92610c69809c86
This commit is contained in:
Eric Mc Sween 2020-05-20 10:19:58 -04:00 committed by Copybot
parent ae63093300
commit 935fdb2b5e

View file

@ -51,4 +51,6 @@ mongoose.plugin(schema => {
schema.options.usePushEach = true
})
mongoose.Promise = global.Promise;
module.exports = mongoose