From ad73f3e39fc6d2ea11f2a9bb12a074edea222bb9 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 20 Sep 2023 20:46:31 +0100 Subject: [PATCH] Fix webhook form data not including all keys The code change includes a fix to ensure that all keys from the webhook object are included in the form data. --- frontend/src/stores/webhooks.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/stores/webhooks.ts b/frontend/src/stores/webhooks.ts index 2c0ad645e..08451b68e 100644 --- a/frontend/src/stores/webhooks.ts +++ b/frontend/src/stores/webhooks.ts @@ -42,6 +42,7 @@ export const useWebhookStore = defineStore("webhooks", { const formData = new FormData(); Object.keys(webhook).forEach((key) => { + // @ts-ignore formData.append(key, webhook[key]); });