From 83a961961a73ad375180c2d3e3441472ed236971 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Tue, 11 Feb 2025 16:21:00 +0800 Subject: [PATCH] test trading view webhook --- src/routes/webhook/tradingview/+server.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/webhook/tradingview/+server.ts b/src/routes/webhook/tradingview/+server.ts index ce0dc76..4495cfe 100644 --- a/src/routes/webhook/tradingview/+server.ts +++ b/src/routes/webhook/tradingview/+server.ts @@ -3,6 +3,8 @@ import { json } from '@sveltejs/kit' import { RestClientV5 } from 'bybit-api' export const POST = async ({ locals, request }) => { + console.log(await request.text()) + return json({}) const body = await request.json() const apiKey = 'wrc1w54Zp5JAfXLxY2'