diff options
Diffstat (limited to 'frontend')
| -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 77a8571..6f1ebce 100644 --- a/frontend/admin/admin.js +++ b/frontend/admin/admin.js @@ -54,7 +54,7 @@ async function overrideMachineStatus(block, machine) { headers: { "Content-Type": "application/json" }, - body: `{"block": ${block}, "machine_id": ${machine}, "disabled": ${dropdown.selectedIndex == 1}`, + body: `{"block": ${block}, "machine_id": ${machine}, "disabled": ${dropdown.selectedIndex == 1}}`, }); if (response.status != 200) { |
