fix: mastodon app displayName is not a string

https://www.youtube.com/watch?v=XQu_IOBiLfk
This commit is contained in:
Mar0xy 2023-09-26 17:48:33 +02:00
parent 586ec6e77b
commit 1bfbe93a25
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 2 additions and 2 deletions

View File

@ -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,