mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-18 17:54:10 +00:00
feat(user): add 'extra' property for misc. stuff
This commit is contained in:
parent
16ac06c4c9
commit
9f9b0e9eee
1 changed files with 2 additions and 0 deletions
|
|
@ -313,6 +313,8 @@ var UserSchema = new Schema({
|
|||
todos: {type:[TaskSchemas.TodoSchema], 'default': shared.content.userDefaults.todos},
|
||||
rewards: {type:[TaskSchemas.RewardSchema], 'default': shared.content.userDefaults.rewards},
|
||||
|
||||
extra: Schema.Types.Mixed
|
||||
|
||||
}, {
|
||||
strict: true,
|
||||
minimize: false // So empty objects are returned
|
||||
|
|
|
|||
Loading…
Reference in a new issue