diff options
-rw-r--r-- | server/models/user.js | 3 |
1 files changed, 2 insertions, 1 deletions
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 () { | |||
57 | return { | 57 | return { |
58 | id: this._id, | 58 | id: this._id, |
59 | username: this.username, | 59 | username: this.username, |
60 | role: this.role | 60 | role: this.role, |
61 | createdDate: this.createdDate | ||
61 | } | 62 | } |
62 | } | 63 | } |
63 | // ------------------------------ STATICS ------------------------------ | 64 | // ------------------------------ STATICS ------------------------------ |