added display name to users

This commit is contained in:
zipben 2025-06-04 16:04:28 +00:00
parent cbb8950b46
commit c0294f4c39
16 changed files with 112 additions and 14 deletions

View file

@ -83,7 +83,8 @@ class Comment extends Model {
updatedAt: this.updatedAt,
user: this.user ? {
id: this.user.id,
username: this.user.username
username: this.user.username,
displayName: this.user.displayName
} : null
}
}