test webhook payload

master
TZGyn 10 months ago
parent e3d5e7da7c
commit febef8a08c
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -6,6 +6,9 @@ import { z } from 'zod'
export const POST = async ({ locals, request }) => { export const POST = async ({ locals, request }) => {
const body = await request.json() const body = await request.json()
console.log(body)
return json({})
const form = z const form = z
.object({ .object({
key: z.string(), key: z.string(),

Loading…
Cancel
Save