瀏覽代碼

Reorder import statement for jwt in main.py

Dennis 9 月之前
父節點
當前提交
84f1347bd0
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  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