revert: description fetching
This commit is contained in:
parent
86556f7913
commit
ecdf56d1ad
@ -91,7 +91,7 @@ namespace MisskeyAPI {
|
|||||||
followers_count: u.followersCount ? u.followersCount : 0,
|
followers_count: u.followersCount ? u.followersCount : 0,
|
||||||
following_count: u.followingCount ? u.followingCount : 0,
|
following_count: u.followingCount ? u.followingCount : 0,
|
||||||
statuses_count: u.notesCount ? u.notesCount : 0,
|
statuses_count: u.notesCount ? u.notesCount : 0,
|
||||||
note: u.description !== null || undefined ? u.description as string : '',
|
note: '',
|
||||||
url: u.host ? `https://${u.host}/@${u.username}` : host ? `https://${host}/@${u.username}` : acct,
|
url: u.host ? `https://${u.host}/@${u.username}` : host ? `https://${host}/@${u.username}` : acct,
|
||||||
avatar: u.avatarUrl,
|
avatar: u.avatarUrl,
|
||||||
avatar_static: u.avatarColor,
|
avatar_static: u.avatarColor,
|
||||||
|
@ -5,7 +5,6 @@ namespace MisskeyEntity {
|
|||||||
id: string
|
id: string
|
||||||
name: string
|
name: string
|
||||||
username: string
|
username: string
|
||||||
description?: string
|
|
||||||
createdAt?: string
|
createdAt?: string
|
||||||
followingCount?: number
|
followingCount?: number
|
||||||
followersCount?: number
|
followersCount?: number
|
||||||
|
Loading…
Reference in New Issue
Block a user