add: description support for mastodon
This commit is contained in:
parent
a505e51777
commit
b569ac911e
3 changed files with 5 additions and 2 deletions
|
@ -92,7 +92,7 @@ namespace MisskeyAPI {
|
|||
followers_count: u.followersCount ? u.followersCount : 0,
|
||||
following_count: u.followingCount ? u.followingCount : 0,
|
||||
statuses_count: u.notesCount ? u.notesCount : 0,
|
||||
note: '',
|
||||
note: u.description ? u.description : '',
|
||||
url: acctUrl,
|
||||
avatar: u.avatarUrl,
|
||||
avatar_static: u.avatarUrl,
|
||||
|
|
|
@ -6,6 +6,7 @@ namespace MisskeyEntity {
|
|||
name: string
|
||||
username: string
|
||||
createdAt?: string
|
||||
description?: string
|
||||
followingCount?: number
|
||||
followersCount?: number
|
||||
notesCount?: number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue