mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
ae63093300
commit
935fdb2b5e
1 changed files with 2 additions and 0 deletions
|
@ -51,4 +51,6 @@ mongoose.plugin(schema => {
|
|||
schema.options.usePushEach = true
|
||||
})
|
||||
|
||||
mongoose.Promise = global.Promise;
|
||||
|
||||
module.exports = mongoose
|
||||
|
|
Loading…
Reference in a new issue