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 /backend | |
| parent | e5d96d19292224ea9513e145b02e35338eff0857 (diff) | |
oops
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/main.py b/backend/main.py index e2c7163..c0bfe51 100644 --- a/backend/main.py +++ b/backend/main.py @@ -535,6 +535,7 @@ def admin_check(response: fastapi.Response, admin_auth: Annotated[str | None, fa response.status_code = fastapi.status.HTTP_401_UNAUTHORIZED return "Get out." + # --- override each machine status @app.post("/override_status", response_class=PlainTextResponse) def override_status(data: OverrideMachineData, response: fastapi.Response, admin_auth: Annotated[str | None, fastapi.Cookie()] = None): |
