v3: check that tasks are deleted when the user deletes the acocunt and misc fixes

This commit is contained in:
Matteo Pagliazzi
2016-04-04 17:16:36 +02:00
parent 1620614b3b
commit 68ff26e6d6
4 changed files with 30 additions and 5 deletions
-1
View File
@@ -508,7 +508,6 @@ export let schema = new Schema({
habits: [{type: String, ref: 'Task'}],
dailys: [{type: String, ref: 'Task'}],
todos: [{type: String, ref: 'Task'}],
completedTodos: [{type: String, ref: 'Task'}],
rewards: [{type: String, ref: 'Task'}],
},
extra: {type: Schema.Types.Mixed, default: () => {