Skip to content

Commit

Permalink
fix cors error in zapier webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonydevs17 committed Dec 16, 2024
1 parent 8702236 commit d2dfa76
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/tools/src/zapier-webhook/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ export class ZapierWebhook extends Tool {
try {
const jsonData = await this.httpClient
.post(this.url, {
json: input,
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(input),
})
.json();

Expand Down

0 comments on commit d2dfa76

Please sign in to comment.