mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: default name to 'Unknown'
Growth server requires non-empty string so default to 'Unknown' if name is null or an empty string.
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
body: JSON.stringify({
|
||||
subject: 'support',
|
||||
email: $user.email,
|
||||
firstName: $user?.name ?? '',
|
||||
firstName: $user?.name || 'Unknown',
|
||||
message: $supportData.message,
|
||||
tags: ['cloud'],
|
||||
customFields: [
|
||||
|
||||
Reference in New Issue
Block a user