Skip to content

Commit

Permalink
Clean up whitespace in Express webhook verification example
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-jplatte committed Nov 1, 2024
1 parent 425e4e4 commit bc9fab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/receiving/verifying-payloads/how.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ import bodyParser from "body-parser";

const secret = "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw";

app.post('/webhook', bodyParser.raw({type: 'application/json'}), (req, res) => {
app.post('/webhook', bodyParser.raw({ type: 'application/json' }), (req, res) => {
const payload = req.body;
const headers = req.headers;

Expand Down

0 comments on commit bc9fab7

Please sign in to comment.