This commit is contained in:
vladislav 2026-09-10 06:34:24 -04:00
parent 60229a49b3
commit 0fc4d96f25
Signed by: Vladislav
GPG Key ID: D97C9E5E4860EE45
2 changed files with 2 additions and 2 deletions

View File

@ -1093,7 +1093,7 @@
" return hashlib.sha256(text.encode(\"utf-8\")).hexdigest()\n",
"\n",
"\n",
"@router.post(\"/api/login\")\n",
"@app.post(\"/api/login\")\n",
"async def login(\n",
" request: Request,\n",
" response: Response,\n",

View File

@ -804,7 +804,7 @@ def sha256(text: str) -> str:
return hashlib.sha256(text.encode("utf-8")).hexdigest()
@router.post("/api/login")
@app.post("/api/login")
async def login(
request: Request,
response: Response,