From 4cd1f597e8a3a95bf21d812db743a9c240daf741f4ad3c11d2848622fda4a972 Mon Sep 17 00:00:00 2001 From: vladislav Date: Thu, 10 Sep 2026 06:53:09 -0400 Subject: [PATCH] fix --- main.ipynb | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ipynb b/main.ipynb index ba67a51..d8ff95b 100644 --- a/main.ipynb +++ b/main.ipynb @@ -1951,7 +1951,7 @@ " )\n", "\n", "\n", - "@router.post(\"/api/v2/reset-password\")\n", + "@app.post(\"/api/v2/reset-password\")\n", "async def reset_password_user(\n", " request: Request,\n", " response: Response,\n", diff --git a/main.py b/main.py index 08ade14..bec8fe1 100644 --- a/main.py +++ b/main.py @@ -1468,7 +1468,7 @@ async def restore_page(request: Request, token: str): ) -@router.post("/api/v2/reset-password") +@app.post("/api/v2/reset-password") async def reset_password_user( request: Request, response: Response,