summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-01-20 23:22:48 +0800
committeraltaf-creator <dev@altafcreator.com>2026-01-20 23:22:48 +0800
commit9cc59556df1ba7b8c5814806e32dd62fba09fb76 (patch)
treef9fd944e66885ad2d2680fd48e1654769ce0ae7f
parentc4bb3217742e26210683d49715b37aa07955e689 (diff)
am i serious rn
-rw-r--r--backend/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/main.py b/backend/main.py
index f027e9f..1a40120 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -474,7 +474,7 @@ def notif_subscribe(data: notif.PushSubscriptionData, response: fastapi.Response
# --- admin login
-@app.post("admin_login", response_class=PlainTextResponse)
+@app.post("/admin_login", response_class=PlainTextResponse)
def admin_login(password: str, response: fastapi.Response):
pass