🎥 Make videos programmatically with React
fix function call in docs
Hunain Ahmedb8efb452bf19
diff --git a/packages/docs/docs/lambda/pagesrouterwebhooks.mdx b/packages/docs/docs/lambda/pagesrouterwebhooks.mdxindex 70f0d0087c..c15281607d 100644--- a/packages/docs/docs/lambda/pagesrouterwebhooks.mdx+++ b/packages/docs/docs/lambda/pagesrouterwebhooks.mdx@@ -41,9 +41,9 @@ A function that is called with a [`WebhookTimeoutPayload`](/docs/lambda/webhooksSetting up a webhook endpoint in a Next.js app which uses Pages Router. This will listen on the endpoint: `mydomain.com/api/webhook````tsx twoslash title="pages/api/webhook.ts"-import {pageRouterWebhooks} from '@remotion/lambda/client';+import {pagesRouterWebhook} from '@remotion/lambda/client';-const handler = pageRouterWebhooks({+const handler = pagesRouterWebhook({secret: 'mysecret',testing: true,extraHeaders: {