From f0aaf0f29e133e7ff3fbd02781badfbe291b52a5 Mon Sep 17 00:00:00 2001 From: starnakin Date: Tue, 12 Dec 2023 14:43:57 +0100 Subject: [PATCH] clean: remove print --- frontend/static/js/api/matchmaking.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontend/static/js/api/matchmaking.js b/frontend/static/js/api/matchmaking.js index b01db49..806349e 100644 --- a/frontend/static/js/api/matchmaking.js +++ b/frontend/static/js/api/matchmaking.js @@ -18,17 +18,12 @@ class MatchMaking if (!await this.client.isAuthentificate()) return null; - console.log(func) - this.callback = func - console.log(this.callback) - let url = `wss://${window.location.host}/ws/matchmaking/`; this._chatSocket = new WebSocket(url); this._chatSocket.onmessage = function (event) { const data = JSON.parse(event.data); - console.log(func, data) func(data.game_id) }; }