mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
fix tests
This commit is contained in:
@@ -38,7 +38,9 @@ export let TaskSchema = new Schema({
|
||||
}, discriminatorOptions));
|
||||
|
||||
TaskSchema.plugin(baseModel, {
|
||||
noSet: ['challenge', 'userId', 'value', 'completed', 'history', 'streak', 'dateCompleted'], // TODO checklist fields editable?
|
||||
// TODO checklist fields editable?
|
||||
// TODO value should be settable only for rewards
|
||||
noSet: ['challenge', 'userId', 'completed', 'history', 'streak', 'dateCompleted'],
|
||||
private: [],
|
||||
timestamps: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user