From b676a178f432d3a0118de8a2223dd6b130c4345f Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Sat, 27 Apr 2019 05:07:26 +1000 Subject: [PATCH] Stringify of course --- plugins/wss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wss.js b/plugins/wss.js index 9148ce7..80c6005 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(response) + ws.send(stringify(response)) } } catch (error) {