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