Browse Source

Reorder import statement for jwt in main.py

Dennis 3 months ago
parent
commit
84f1347bd0
1 changed files with 1 additions and 1 deletions
  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