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:
Carina WollendorferandCarinaWolli authored and GitHub committed 2025-03-20 11:21:30 +00:00
1 parent 80eb6daf1f
commit e045dcff11
2 files changed
+2

No files matched your search

@@ -41,6 +41,7 @@ function expectFormSubmittedNoEventWebhookToBeCalled(
const webhookPayload = {
responses: payload.responses,
formId: payload.form.id,
responseId: payload.responseId,
formName: payload.form.name,
teamId: null,
};
@@ -108,6 +108,7 @@ export async function triggerFormSubmittedNoEventWebhook(payload: string): Promi
formName: form.name,
teamId: form.teamId,
redirect,
responseId,
responses,
},
}).catch((e) => {