From 5c2b230ef7130aad063c9bffebfd932914d56850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20H=C3=B6ffl?= Date: Mon, 4 Nov 2024 10:04:10 +0100 Subject: [PATCH] Send message via text/plain (#6) --- 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),