Skip to content

Commit

Permalink
fix body parser code for webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash094 authored Feb 7, 2025
1 parent c5dfad8 commit 8f0a128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/portal/src/app/engine/features/webhooks/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const port = 3000;

const WEBHOOK_SECRET = "<your_webhook_auth_secret>";

app.use(bodyParser.text());
app.use(bodyParser.json());

app.post("/webhook", (req, res) => {
const signatureFromHeader = req.header("X-Engine-Signature");
Expand Down

0 comments on commit 8f0a128

Please sign in to comment.