Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Server: show user created date for the api

Chocobozzzd74a0680f720
diff --git a/server/models/user.js b/server/models/user.js
index e76aab2ce5..db6f1765b6 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 ------------------------------