From 6f845e2cb61db62cde7f5a8c998bd506dc681e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IT=E7=8B=97?= Date: Mon, 20 Jul 2026 23:47:14 +0800 Subject: [PATCH] Fix import path: use database not app.database --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index 37351c3..d46a310 100644 --- a/backend/main.py +++ b/backend/main.py @@ -993,7 +993,7 @@ async def export_html_report( from fastapi.security import HTTPBearer, HTTPAuthorizationCredentials from jose import JWTError, jwt from database import SECRET_KEY, ALGORITHM - from app.database import get_db + from database import get_db credentials_exception = HTTPException( status_code=401,