mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 19:43:09 +02:00
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,
|
||||
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 a new issue