diff --git a/studio/src/services/webSocket.js b/studio/src/services/webSocket.js index 7d1beca..6c070e8 100644 --- a/studio/src/services/webSocket.js +++ b/studio/src/services/webSocket.js @@ -35,10 +35,7 @@ const WebSocketService = { sendMessage(message, type) { if (this.ws && this.ws.readyState === WebSocket.OPEN) { - this.ws.send(JSON.stringify({ - query: message, - type - })); + this.ws.send(message); } else { console.error('WebSocket is not open'); }