fix: mastodon app displayName is not a string
https://www.youtube.com/watch?v=XQu_IOBiLfk
This commit is contained in:
parent
586ec6e77b
commit
1bfbe93a25
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ namespace MisskeyAPI {
|
||||||
id: u.id,
|
id: u.id,
|
||||||
username: u.username,
|
username: u.username,
|
||||||
acct: acct,
|
acct: acct,
|
||||||
display_name: u.name,
|
display_name: u.name ? u.name : '',
|
||||||
locked: false,
|
locked: false,
|
||||||
group: null,
|
group: null,
|
||||||
noindex: null,
|
noindex: null,
|
||||||
|
@ -117,7 +117,7 @@ namespace MisskeyAPI {
|
||||||
id: u.id,
|
id: u.id,
|
||||||
username: u.username,
|
username: u.username,
|
||||||
acct: acct,
|
acct: acct,
|
||||||
display_name: u.name,
|
display_name: u.name ? u.name : '',
|
||||||
locked: u.isLocked,
|
locked: u.isLocked,
|
||||||
group: null,
|
group: null,
|
||||||
noindex: null,
|
noindex: null,
|
||||||
|
|
Loading…
Reference in a new issue