Skip to content

Commit

Permalink
Fix webhook form data not including all keys
Browse files Browse the repository at this point in the history
The code change includes a fix to ensure that all keys from the webhook object are included in the form data.
  • Loading branch information
realashleybailey committed Sep 20, 2023
1 parent d5952d6 commit ad73f3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/stores/webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
});

Expand Down

0 comments on commit ad73f3e

Please sign in to comment.