summaryrefslogtreecommitdiff
path: root/frontend/main.js
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-02 16:20:20 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-02 16:20:20 +0700
commit10382a1985dae5afd13c1bda10b43ffbfeda209b (patch)
tree8549484da905e128a040826eb89b52a1bef9eb47 /frontend/main.js
parentb8155a7854182bbf1bf750226bb62fc38b6bbcaf (diff)
type error
Diffstat (limited to 'frontend/main.js')
-rw-r--r--frontend/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/main.js b/frontend/main.js
index 0e084ab..b7ba1b7 100644
--- a/frontend/main.js
+++ b/frontend/main.js
@@ -74,7 +74,7 @@ async function information(urlParam = null) {
headers: {
"Content-Type": "application/json"
},
- body: JSON.stringify({ "machine_id": urlParam ? urlParam : null }),
+ body: JSON.stringify({ "machine_id": urlParam ? urlParam : "" }),
});
const block = await response.json()["block"];