Validate hookdeck webhooks

This commit is contained in:
2025-06-02 12:05:41 +03:00
parent 0cd5c6cb69
commit 80fe63b82e
6 changed files with 31 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
import { createActivityContent } from "~~/server/utils/create-content";
export default defineEventHandler(async (event) => {
await validateHookdeck(event);
const body = await readBody(event);
const db = useDrizzle();