summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-02 16:19:10 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-02 16:19:10 +0700
commitb8155a7854182bbf1bf750226bb62fc38b6bbcaf (patch)
treee3d045a02b815f64d5582e5485b747b9e3c7c5db /frontend
parenta4541c9585f926aeb07ab390a8e40cead1eed817 (diff)
API /info use cookie
Diffstat (limited to 'frontend')
-rw-r--r--frontend/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/main.js b/frontend/main.js
index 65a1d93..0e084ab 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 : await cookieStore.get({name: "auth_block", url: API_URL}) })
+ body: JSON.stringify({ "machine_id": urlParam ? urlParam : null }),
});
const block = await response.json()["block"];