From 76bce6918e04727fe93da37968de52cb2a307ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Mon, 16 Jan 2023 12:44:28 +0100 Subject: [PATCH] test --- View/src/JS/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/View/src/JS/dashboard.js b/View/src/JS/dashboard.js index f8f70a95..c6ec7c58 100644 --- a/View/src/JS/dashboard.js +++ b/View/src/JS/dashboard.js @@ -6,7 +6,7 @@ xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.onload = function () { console.log(xhr.responseText); - playersPseudo = JSON.parse(xhr.responseText); + playersPseudo = xhr.responseText; } console.log(playersPseudo); xhr.send(null);