]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/user.js
Server: show user created date for the api
[github/Chocobozzz/PeerTube.git] / server / models / user.js
index e76aab2ce5ad25d1459b90c9a7423cce8acef7d7..db6f1765b66ddf56ef54b0676c276c48b2455c2c 100644 (file)
@@ -57,7 +57,8 @@ function toFormatedJSON () {
   return {
     id: this._id,
     username: this.username,
-    role: this.role
+    role: this.role,
+    createdDate: this.createdDate
   }
 }
 // ------------------------------ STATICS ------------------------------