From 20d19c82333858b871851577b1d02641e91aa0ba Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Sat, 27 Apr 2019 05:12:51 +1000 Subject: [PATCH] perhaps json will help, lmao --- plugins/wss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wss.js b/plugins/wss.js index 80c6005..0321acf 100644 --- a/plugins/wss.js +++ b/plugins/wss.js @@ -36,7 +36,7 @@ module.exports = { response.data.push({ type: data.requests[i], data: resp }) } - ws.send(stringify(response)) + ws.send(JSON.stringify(response)) } } catch (error) {