Parcourir la source

Reorder import statement for jwt in main.py

Dennis il y a 8 mois
Parent
commit
84f1347bd0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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