We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d27c5fd + 481ee36 commit e5d564bCopy full SHA for e5d564b
2 files changed
lib/models/module.js
@@ -10,9 +10,7 @@ var schemaOptions = {
10
_id: false,
11
collection: 'modulestore',
12
discriminatorKey: '_id.category',
13
- toObject: {
14
- retainKeyOrder: true
15
- }
+ retainKeyOrder: true
16
};
17
18
var extend = function (schema, options) {
package.json
@@ -16,7 +16,7 @@
"bluebird": "^3.3.4",
"lodash": "^4.8.2",
"moment": "^2.12.0",
19
- "mongoose": "^4.4.11",
+ "mongoose": "^4.6.5",
20
"mongoose-long": "~0.1.0"
21
},
22
"devDependencies": {
0 commit comments