mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01: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:
@@ -51,4 +51,6 @@ mongoose.plugin(schema => {
|
||||
schema.options.usePushEach = true
|
||||
})
|
||||
|
||||
mongoose.Promise = global.Promise;
|
||||
|
||||
module.exports = mongoose
|
||||
|
||||
Reference in New Issue
Block a user