mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-19 20:28:53 +00:00
Added required field
This commit is contained in:
parent
f2d81a8d9c
commit
e4f5950ffc
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ export let DailySchema = new Schema(_.defaults({
|
|||
weeksOfMonth: {type: [Number], default: []}, // Weeks of the month that the daily should repeat on
|
||||
isDue: {type: Boolean},
|
||||
nextDue: [{type: String}],
|
||||
yesterDaily: {type: Boolean, default: true},
|
||||
yesterDaily: {type: Boolean, default: true, required: true},
|
||||
}, habitDailySchema(), dailyTodoSchema()), subDiscriminatorOptions);
|
||||
export let daily = Task.discriminator('daily', DailySchema);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue