diff options
| -rw-r--r-- | frontend/status.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/status.js b/frontend/status.js index 446c655..3d92fc1 100644 --- a/frontend/status.js +++ b/frontend/status.js @@ -2,7 +2,7 @@ startUpdateMachines(); (async () => { const urlParams = new URLSearchParams(window.location.search); - const blk = await information(urlParams.get("machine"))["block"]; + const blk = await information(urlParams.get("machine")); console.log("blk", blk); document.getElementById("status-title").innerHTML = `Machine Status for H${blk ? blk : '?'}` })(); |
