renderAccount: display_name cannot be undefined
This commit is contained in:
parent
1fff0834eb
commit
a6cae8f878
|
@ -43,7 +43,7 @@ async function renderAccount(
|
|||
bot: false,
|
||||
created_at: nostrDate(event.user?.created_at ?? event.created_at).toISOString(),
|
||||
discoverable: true,
|
||||
display_name: name,
|
||||
display_name: name ?? '',
|
||||
emojis: renderEmojis(event),
|
||||
fields: [],
|
||||
follow_requests_count: 0,
|
||||
|
|
Loading…
Reference in New Issue