From febef8a08c950420422a512fc5649693051dee93 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Tue, 11 Feb 2025 18:52:58 +0800 Subject: [PATCH] test webhook payload --- src/routes/webhook/tradingview/+server.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/routes/webhook/tradingview/+server.ts b/src/routes/webhook/tradingview/+server.ts index 34a4ea6..5b37190 100644 --- a/src/routes/webhook/tradingview/+server.ts +++ b/src/routes/webhook/tradingview/+server.ts @@ -6,6 +6,9 @@ import { z } from 'zod' export const POST = async ({ locals, request }) => { const body = await request.json() + console.log(body) + return json({}) + const form = z .object({ key: z.string(),