diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-02 16:19:10 +0700 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-02 16:19:10 +0700 |
| commit | b8155a7854182bbf1bf750226bb62fc38b6bbcaf (patch) | |
| tree | e3d045a02b815f64d5582e5485b747b9e3c7c5db /frontend | |
| parent | a4541c9585f926aeb07ab390a8e40cead1eed817 (diff) | |
API /info use cookie
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/main.js | 2 |
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"]; |
