diff --git a/server/models/user.js b/server/models/user.js index e76aab2ce..db6f1765b 100644 --- a/server/models/user.js +++ b/server/models/user.js @@ -57,7 +57,8 @@ function toFormatedJSON () { return { id: this._id, username: this.username, - role: this.role + role: this.role, + createdDate: this.createdDate } } // ------------------------------ STATICS ------------------------------