projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add user moderation in the account page
[oweals/peertube.git]
/
server
/
models
/
account
/
account.ts
diff --git
a/server/models/account/account.ts
b/server/models/account/account.ts
index 27c75d8861203c3be8c6e8e27b9d134e3dbb334c..5a237d733a0efd06c6fa98ed258c323e7b8c9058 100644
(file)
--- a/
server/models/account/account.ts
+++ b/
server/models/account/account.ts
@@
-248,7
+248,8
@@
export class AccountModel extends Model<AccountModel> {
displayName: this.getDisplayName(),
description: this.description,
createdAt: this.createdAt,
- updatedAt: this.updatedAt
+ updatedAt: this.updatedAt,
+ userId: this.userId ? this.userId : undefined
}
return Object.assign(actor, account)