summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-01-20 23:24:21 +0800
committeraltaf-creator <dev@altafcreator.com>2026-01-20 23:24:21 +0800
commitd857e078c575a8e1ac2e50cd2e7bafc09aa53f9f (patch)
tree6cea093feb70230e08ed86adf3b4664abf90c2fe
parent9cc59556df1ba7b8c5814806e32dd62fba09fb76 (diff)
test
-rw-r--r--backend/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/main.py b/backend/main.py
index 1a40120..e529c86 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -475,8 +475,8 @@ def notif_subscribe(data: notif.PushSubscriptionData, response: fastapi.Response
# --- admin login
@app.post("/admin_login", response_class=PlainTextResponse)
-def admin_login(password: str, response: fastapi.Response):
- pass
+def admin_login(data: str, response: fastapi.Response):
+ print(data)
# --- override each machine status