+4
-1
@@ -52,7 +52,10 @@ var GroupSchema = new Schema({
|
||||
balance: Number,
|
||||
logo: String,
|
||||
leaderMessage: String
|
||||
}, {strict: 'throw'});
|
||||
}, {
|
||||
strict: 'throw',
|
||||
minimize: false // So empty objects are returned
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
|
||||
+2
-1
@@ -226,7 +226,8 @@ var UserSchema = new Schema({
|
||||
*/
|
||||
|
||||
}, {
|
||||
strict: true
|
||||
strict: true,
|
||||
minimize: false // So empty objects are returned
|
||||
});
|
||||
|
||||
// Legacy Derby Function?
|
||||
|
||||
Reference in New Issue
Block a user