novuhq / novu

Open-Source Notification Platform. Embeddable Notification Center, E-mail, Push and Slack Integrations.
https://novu.co
Other
35.18k stars 3.8k forks source link

🐛 Bug Report: email Variable Name Conflict in Payload and Recipient #6749

Open dinesh-0808 opened 1 week ago

dinesh-0808 commented 1 week ago

📜 Description

i created a payload variable named 'email'. but this created confict between the email variable in 'to' section where we provide the recipient email address. image

👟 Reproduction steps

http://localhost:2022/studio/flows/example-email/test php email trigger code tab

👍 Expected behavior

It should send the mail to the email provided in the email variable of 'to' section.

👎 Actual Behavior with Screenshots

It actually was sending mail to the email provided in payload data

Novu version

2.x

npm version

No response

node version

No response

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

None

linear[bot] commented 1 week ago

NV-4528 🐛 Bug Report: email Variable Name Conflict in Payload and Recipient