fix: optimize webhook routing

This commit is contained in:
David Nguyen
2025-11-24 13:53:57 +11:00
parent ae31860b16
commit 7a55abadaf
3 changed files with 15 additions and 23 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');