Skip to content

🎥 Make videos programmatically with React

fix webhook example endpoint in docs

Paul Kuhle1413d70a9052
diff --git a/packages/docs/docs/lambda/webhooks.md b/packages/docs/docs/lambda/webhooks.md
index 0dc7bc9848..fc427fbf41 100644
--- a/packages/docs/docs/lambda/webhooks.md
+++ b/packages/docs/docs/lambda/webhooks.md
@@ -134,7 +134,7 @@ const jsonParser = bodyParser.json();
// Express API endpoint
router.post("/my-remotion-webhook-endpoint", jsonParser, (req, res) => {
- if (signature === "NO_SECRET_PROVIDED") {
+ if (req.header("X-Remotion-Signature") === "NO_SECRET_PROVIDED") {
// webhook request is not signed
}