From bc00af5e4cdb9552c7cf7af2f031b0d12040728d Mon Sep 17 00:00:00 2001 From: Julian Jelfs Date: Thu, 19 Dec 2024 17:20:45 +0000 Subject: [PATCH] only pass token in header --- frontend/openchat-client/src/openchat.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/openchat-client/src/openchat.ts b/frontend/openchat-client/src/openchat.ts index 41834c02d6..b111216363 100644 --- a/frontend/openchat-client/src/openchat.ts +++ b/frontend/openchat-client/src/openchat.ts @@ -7764,7 +7764,6 @@ export class OpenChat extends EventTarget { return fetch(`${bot.endpoint}/execute_command`, { method: "POST", headers: headers, - body: token, }).then((res) => { if (res.ok) { return res.json();