aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-09-23 17:19:57 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-09-23 17:19:57 +0200
commitd74a0680f72021f82c2718cbf6c490a7715a9e35 (patch)
tree6a2f80e6e2cbc6fcc60bbf27e68b57234c439e66
parent4b931f7df9b0e99f0a63e703a790b4500a4a1a52 (diff)
downloadPeerTube-d74a0680f72021f82c2718cbf6c490a7715a9e35.tar.gz
PeerTube-d74a0680f72021f82c2718cbf6c490a7715a9e35.tar.zst
PeerTube-d74a0680f72021f82c2718cbf6c490a7715a9e35.zip
Server: show user created date for the api
-rw-r--r--server/models/user.js3
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 ------------------------------