From 1e37577b179dd2bcddfe2bd32b6f983cdfbce0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C3=BBki=20Vachot?= Date: Sun, 12 May 2024 02:38:12 +0200 Subject: [PATCH] First Commit --- script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script.js b/script.js index fcc6634..4280bb3 100644 --- a/script.js +++ b/script.js @@ -70,6 +70,5 @@ async function getNetworkGraphJson(){ if (!response.ok) { throw new Error('Network response was not ok'); } - const data = await response.json(); - return data; + return await response.json(); }