fix: optimize webhook routing (#2236)

This commit is contained in:
David Nguyen
2025-11-25 11:43:23 +11:00
committed by GitHub
parent 5df3932958
commit e364b08b6a
4 changed files with 60 additions and 70 deletions

View File

@@ -13,6 +13,7 @@ export type HandlerTriggerWebhooksResponse =
error: string;
};
// Todo: [Webhooks] delete after deployment.
export const handlerTriggerWebhooks = async (req: Request) => {
const signature = req.headers.get('x-webhook-signature');