Fix "User Added Question" Label in Email and Calendar Invite (#7559)

* Show label in email and calendar invite and send label as well as name in webhook

* Make common code reusable

---------

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Hariom BalharaandPeer Richelsen authored and GitHub committed 2023-03-07 17:50:54 +00:00
1 parent 6f8ea490d0
commit ce8e1d52da
6 files changed
+75 -22

No files matched your search

+10 -1
View File
@@ -90,7 +90,16 @@ test("add webhook & test that creating an event triggers a webhook call", async
timeZone: "[redacted/dynamic]",
language: "[redacted/dynamic]",
},
responses: { email: "[email protected]", name: "Test Testson" },
responses: {
email: {
value: "[email protected]",
label: "email_address",
},
name: {
value: "Test Testson",
label: "your_name",
},
},
userFieldsResponses: {},
attendees: [
{