Book Meeting
@@ -2039,13 +2040,11 @@
fetch(CHAT_URL, {
method: "POST",
headers: { "Content-Type": "application/json" },
- body: JSON.stringify([
- {
- action: "sendMessage",
- chatid: CHAT_ID,
- chatInput: text,
- },
- ]),
+ body: JSON.stringify({
+ action: "sendMessage",
+ chatid: CHAT_ID,
+ chatInput: text,
+ }),
})
.then(function (r) {
var ct = r.headers.get("content-type") || "";