mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Fix notifications in user pre save hook (#10348)
This commit is contained in:
@@ -597,6 +597,7 @@ let schema = new Schema({
|
||||
type: {type: String},
|
||||
}],
|
||||
}, {
|
||||
skipVersioning: { notifications: true },
|
||||
strict: true,
|
||||
minimize: false, // So empty objects are returned
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user