mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
added comment for minimze: false
This commit is contained in:
@@ -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?
|
||||||
|
|||||||
Reference in New Issue
Block a user