mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 07:21:15 +00:00
CDS: set min/max on preferences.dayStart
This commit is contained in:
parent
9cd947627c
commit
af0b1d0550
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ var UserSchema = new Schema({
|
|||
},
|
||||
preferences: {
|
||||
armorSet: String,
|
||||
dayStart: {type:Number, 'default': 0},
|
||||
dayStart: {type:Number, 'default': 0, min: 0, max: 24},
|
||||
size: {type:String, enum: ['broad','slim'], 'default': 'broad'},
|
||||
hair: {
|
||||
color: {type: String, 'default': 'blond'},
|
||||
|
|
|
|||
Loading…
Reference in a new issue