upd: fetch header on normal user call
This commit is contained in:
parent
4abdf6f7a6
commit
b9752b20cb
2 changed files with 3 additions and 2 deletions
|
@ -96,8 +96,8 @@ namespace MisskeyAPI {
|
||||||
url: acctUrl,
|
url: acctUrl,
|
||||||
avatar: u.avatarUrl,
|
avatar: u.avatarUrl,
|
||||||
avatar_static: u.avatarUrl,
|
avatar_static: u.avatarUrl,
|
||||||
header: '',
|
header: u.bannerUrl ? u.bannerUrl : '',
|
||||||
header_static: '',
|
header_static: u.bannerUrl ? u.bannerUrl : '',
|
||||||
emojis: mapEmojis(u.emojis),
|
emojis: mapEmojis(u.emojis),
|
||||||
moved: null,
|
moved: null,
|
||||||
fields: [],
|
fields: [],
|
||||||
|
|
|
@ -11,6 +11,7 @@ namespace MisskeyEntity {
|
||||||
notesCount?: number
|
notesCount?: number
|
||||||
host: string | null
|
host: string | null
|
||||||
avatarUrl: string
|
avatarUrl: string
|
||||||
|
bannerUrl?: string | null
|
||||||
avatarColor: string
|
avatarColor: string
|
||||||
emojis: Array<Emoji> | { [key: string]: string }
|
emojis: Array<Emoji> | { [key: string]: string }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue