2
All checks were successful
Build Docker / deploy (push) Successful in 37s
Build Docker / build (push) Successful in 30s

This commit is contained in:
2026-03-07 18:43:19 +03:00
parent 02a2c17531
commit ed5128f75d
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ from fastapi.security import HTTPBearer, HTTPAuthorizationCredentials
import server.backend.schema.pydantic as pydantic
import server.backend.database.db as db
from server.backend.auth.JWT import signJWT, decodeJWT
api = FastAPI()
api = FastAPI(openapi_url="/api/openapi.json")
security = HTTPBearer()
async def get_current_user(credentials: HTTPAuthorizationCredentials = Depends(security)):