fix: add response id to webhook payload (#20247)
* add responseId to webhook payload * fix test --------- Co-authored-by: CarinaWolli <wollencarina@gmail.com>
This commit is contained in:
1 parent
80eb6daf1f
commit
e045dcff11
2 files changed
+2
No files matched your search
+1
@@ -41,6 +41,7 @@ function expectFormSubmittedNoEventWebhookToBeCalled(
|
||||
const webhookPayload = {
|
||||
responses: payload.responses,
|
||||
formId: payload.form.id,
|
||||
responseId: payload.responseId,
|
||||
formName: payload.form.name,
|
||||
teamId: null,
|
||||
};
|
||||
|
||||
+1
@@ -108,6 +108,7 @@ export async function triggerFormSubmittedNoEventWebhook(payload: string): Promi
|
||||
formName: form.name,
|
||||
teamId: form.teamId,
|
||||
redirect,
|
||||
responseId,
|
||||
responses,
|
||||
},
|
||||
}).catch((e) => {
|
||||
|
||||
Reference in new issue
Block a user