Skip to content

Commit

Permalink
only pass token in header
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs committed Dec 19, 2024
1 parent 41c273f commit bc00af5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/openchat-client/src/openchat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit bc00af5

Please sign in to comment.