From d74a0680f72021f82c2718cbf6c490a7715a9e35 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Sep 2016 17:19:57 +0200 Subject: Server: show user created date for the api --- server/models/user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ------------------------------ -- cgit v1.2.3