renderAccount: display_name cannot be undefined

This commit is contained in:
Alex Gleason 2024-05-26 12:59:04 -05:00
parent 1fff0834eb
commit a6cae8f878
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

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