From 2baaf3c126246d865d968bddc9568d2422a6c808 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Thu, 6 Mar 2025 23:31:37 +0100 Subject: [PATCH] fix form --- app/routers/token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers/token.py b/app/routers/token.py index 9221e9b..a7e7e60 100644 --- a/app/routers/token.py +++ b/app/routers/token.py @@ -1,7 +1,7 @@ from datetime import datetime, timedelta from typing import Annotated -from fastapi import Depends, FastAPI, HTTPException, status, APIRouter +from fastapi import Depends, FastAPI, HTTPException, status, APIRouter, Form from fastapi.responses import JSONResponse from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm from ..dependencies import users_token, permissions_checker