From e116e1b5273ead94890a95e157e69ea6c890dd87 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Sat, 31 May 2025 00:17:42 +0800 Subject: [PATCH] console log type --- src/routes/webhook/tradingview/+server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/webhook/tradingview/+server.ts b/src/routes/webhook/tradingview/+server.ts index 3107add..4244745 100644 --- a/src/routes/webhook/tradingview/+server.ts +++ b/src/routes/webhook/tradingview/+server.ts @@ -6,6 +6,7 @@ import { z } from 'zod' export const POST = async ({ locals, request }) => { const type = request.headers.get('Content-Type') + console.log(type) if (!type || !type.startsWith('application/json')) { return new Response() }