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
|
@ -82,7 +82,7 @@ namespace MisskeyAPI {
|
|||
id: u.id,
|
||||
username: u.username,
|
||||
acct: acct,
|
||||
display_name: u.name,
|
||||
display_name: u.name ? u.name : '',
|
||||
locked: false,
|
||||
group: null,
|
||||
noindex: null,
|
||||
|
@ -117,7 +117,7 @@ namespace MisskeyAPI {
|
|||
id: u.id,
|
||||
username: u.username,
|
||||
acct: acct,
|
||||
display_name: u.name,
|
||||
display_name: u.name ? u.name : '',
|
||||
locked: u.isLocked,
|
||||
group: null,
|
||||
noindex: null,
|
||||
|
|
Loading…
Reference in New Issue