mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
WIP(teams): fix initially unassigned task, add completedBy data
This commit is contained in:
@@ -147,6 +147,7 @@ export const TaskSchema = new Schema({
|
||||
default: SHARED_COMPLETION.single,
|
||||
},
|
||||
managerNotes: { $type: String },
|
||||
completedBy: { $type: String, ref: 'User', validate: [v => validator.isUUID(v), 'Invalid uuid for group completing user.'] },
|
||||
},
|
||||
|
||||
reminders: [reminderSchema],
|
||||
|
||||
Reference in New Issue
Block a user