mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
WIP(multi-assign): functioning multi
This commit is contained in:
@@ -140,7 +140,10 @@ export const TaskSchema = new Schema({
|
||||
$type: String, default: 'singleCompletion', // legacy data
|
||||
},
|
||||
managerNotes: { $type: String },
|
||||
completedBy: { $type: String, ref: 'User', validate: [v => validator.isUUID(v), 'Invalid uuid for group completing user.'] },
|
||||
completedBy: {
|
||||
$type: Schema.Types.Mixed,
|
||||
default: () => ({}), // { 'UUID': Date }
|
||||
},
|
||||
},
|
||||
|
||||
reminders: [reminderSchema],
|
||||
|
||||
Reference in New Issue
Block a user