Explorar o código

Reorder import statement for jwt in main.py

Dennis hai 7 meses
pai
achega
84f1347bd0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      backend/app/main.py

+ 1 - 1
backend/app/main.py

@@ -2662,8 +2662,8 @@ async def auth_middleware(request, call_next):
         )
 
     # Validate JWT token
+    import jwt
     try:
-        import jwt
 
         from backend.app.core.auth import ALGORITHM, SECRET_KEY