From 4f546523064574e7bcfb4ed952b8a6ddb84d5413 Mon Sep 17 00:00:00 2001 From: KeKs0r Date: Mon, 4 Nov 2024 17:03:29 +0800 Subject: [PATCH] Send message via text/plain --- src/core/fetch-transport.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/fetch-transport.ts b/src/core/fetch-transport.ts index 9329e00..c649d25 100644 --- a/src/core/fetch-transport.ts +++ b/src/core/fetch-transport.ts @@ -21,8 +21,7 @@ export function createFetchTransport( { method: "POST", headers: { - "Content-Type": "application/json;charset=utf-8", - Accept: "application/json", + "Content-Type": "text/plain", Authorization: `Bearer ${apiKey}`, }, body: JSON.stringify(event),