mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 23:57:49 +01:00
api fixes
This commit is contained in:
@@ -29,6 +29,7 @@ TodoSchema.methods.toJson = function () {
|
||||
id: this._id.toString(),
|
||||
text: this.text,
|
||||
list: this.list.toString(),
|
||||
completed: this.completed,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user