mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
added comment for minimze: false
This commit is contained in:
parent
e4b575dcb7
commit
8cdcbcf685
2 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ var GroupSchema = new Schema({
|
||||||
leaderMessage: String
|
leaderMessage: String
|
||||||
}, {
|
}, {
|
||||||
strict: 'throw',
|
strict: 'throw',
|
||||||
minimize: false
|
minimize: false // So empty objects are returned
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -227,7 +227,7 @@ var UserSchema = new Schema({
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
strict: true,
|
strict: true,
|
||||||
minimize: false
|
minimize: false // So empty objects are returned
|
||||||
});
|
});
|
||||||
|
|
||||||
// Legacy Derby Function?
|
// Legacy Derby Function?
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue