diff options
| author | altaf-creator <dev@altafcreator.com> | 2026-01-23 09:51:49 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2026-01-23 09:51:49 +0800 |
| commit | d1c4c217376699510c4f4167ce4748e67647c23f (patch) | |
| tree | 8ae9785d2fcb6c29602c77a934ce303cb8cae973 /frontend/admin/admin.js | |
| parent | e5d96d19292224ea9513e145b02e35338eff0857 (diff) | |
oops
Diffstat (limited to 'frontend/admin/admin.js')
| -rw-r--r-- | frontend/admin/admin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/admin/admin.js b/frontend/admin/admin.js index 8a4a331..77a8571 100644 --- a/frontend/admin/admin.js +++ b/frontend/admin/admin.js @@ -48,7 +48,7 @@ async function overrideMachineStatus(block, machine) { const img = document.getElementById("h"+block.toString()+"m"+machine.toString()+"img"); const dropdown = document.getElementById("h"+block.toString()+"m"+machine.toString()); - const response = await fetch(`${API_URL}/admin_login`, { + const response = await fetch(`${API_URL}/override_status`, { method: "POST", credentials: "include", headers: { |
