mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
challenges: better syncing of new, updated, & deleted tasks from
challenge to user. start with task.challenge.broken code
This commit is contained in:
@@ -28,6 +28,5 @@ ChallengeSchema.virtual('tasks').get(function () {
|
||||
return tasks;
|
||||
});
|
||||
|
||||
|
||||
module.exports.schema = ChallengeSchema;
|
||||
module.exports.model = mongoose.model("Challenge", ChallengeSchema);
|
||||
Reference in New Issue
Block a user