Skip to content

Commit 8d1c4c8

Browse files
committed
[Dashboard] Update support email to include wallet address (DASH-75)
1 parent cc572ca commit 8d1c4c8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

apps/dashboard/src/app/(dashboard)/support/components/create-ticket.action.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ function prepareEmailBody(
4040
product: string,
4141
markdownInput: string,
4242
email: string,
43-
address: string,
43+
name: string,
4444
extraInfoInput: Record<string, string>,
45+
walletAddress: string,
4546
) {
4647
// Update `markdown` to include the infos from the form
4748
const extraInfo = Object.keys(extraInfoInput)
@@ -54,7 +55,8 @@ function prepareEmailBody(
5455
})
5556
.join("");
5657
const markdown = `# Email: ${email}
57-
# Address: ${address}
58+
# Name: ${name}
59+
# Wallet address: ${walletAddress}
5860
# Product: ${product}
5961
${extraInfo}
6062
# Message:
@@ -116,6 +118,7 @@ export async function createTicketAction(
116118
account.data.email,
117119
account.data.name,
118120
keyVal,
121+
activeAccount,
119122
);
120123

121124
const content = {

0 commit comments

Comments
 (0)