From b21a9771b4f02de35d224c898fbda5b359656e94 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 28 Aug 2017 21:37:17 -0500 Subject: Fix missing semicolon --- lib/sorting_hat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sorting_hat.js') diff --git a/lib/sorting_hat.js b/lib/sorting_hat.js index 284c6d3..ac78f3d 100644 --- a/lib/sorting_hat.js +++ b/lib/sorting_hat.js @@ -96,7 +96,7 @@ module.exports = class SortingHat { this._mindWave = null; // Our main device this._socketServer = null; // Our socket server used to communicate with frontend this._timer = null; // An internal timer for time based states - this._winner = null // The current winner + this._winner = null; // The current winner } /** @@ -353,7 +353,7 @@ module.exports = class SortingHat { for (const client of this._socketServer.clients) { if (client.readyState === WebSocket.OPEN) { - client.send(state); + client.send(JSON.stringify(state)); } } } -- cgit