From 054375c36c37acf470714f32ef9f4899b81b15c5 Mon Sep 17 00:00:00 2001 From: yuliang_guo Date: Thu, 29 Jan 2026 17:08:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20certificate/dashboa?= =?UTF-8?q?rd=20API=20=E7=9A=84=20get=5Fdb=20=E5=AF=BC=E5=85=A5=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/api/v1/endpoints/certificate.py | 2 +- backend/app/api/v1/endpoints/dashboard.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/api/v1/endpoints/certificate.py b/backend/app/api/v1/endpoints/certificate.py index 616ed2e..eb8ab9a 100644 --- a/backend/app/api/v1/endpoints/certificate.py +++ b/backend/app/api/v1/endpoints/certificate.py @@ -14,7 +14,7 @@ from fastapi.responses import StreamingResponse from sqlalchemy.ext.asyncio import AsyncSession import io -from app.core.database import get_db +from app.core.deps import get_db from app.core.security import get_current_user from app.models.user import User from app.services.certificate_service import CertificateService diff --git a/backend/app/api/v1/endpoints/dashboard.py b/backend/app/api/v1/endpoints/dashboard.py index 812887a..eab3f51 100644 --- a/backend/app/api/v1/endpoints/dashboard.py +++ b/backend/app/api/v1/endpoints/dashboard.py @@ -8,7 +8,7 @@ from typing import Optional from fastapi import APIRouter, Depends, HTTPException, status, Query from sqlalchemy.ext.asyncio import AsyncSession -from app.core.database import get_db +from app.core.deps import get_db from app.core.security import get_current_user from app.models.user import User from app.services.dashboard_service import DashboardService