diff --git a/backend/app/api/v1/endpoints/progress.py b/backend/app/api/v1/endpoints/progress.py index 2876710..078da43 100644 --- a/backend/app/api/v1/endpoints/progress.py +++ b/backend/app/api/v1/endpoints/progress.py @@ -8,8 +8,7 @@ from sqlalchemy.ext.asyncio import AsyncSession from sqlalchemy import select, func, and_ from pydantic import BaseModel, Field -from app.core.database import get_db -from app.api.deps import get_current_user +from app.core.deps import get_db, get_current_user from app.models.user import User from app.models.course import Course, CourseMaterial from app.models.user_course_progress import ( diff --git a/backend/app/api/v1/endpoints/recommendation.py b/backend/app/api/v1/endpoints/recommendation.py index 096ff92..766ce08 100644 --- a/backend/app/api/v1/endpoints/recommendation.py +++ b/backend/app/api/v1/endpoints/recommendation.py @@ -6,8 +6,7 @@ from fastapi import APIRouter, Depends, Query from sqlalchemy.ext.asyncio import AsyncSession from pydantic import BaseModel -from app.core.database import get_db -from app.api.deps import get_current_user +from app.core.deps import get_db, get_current_user from app.models.user import User from app.services.recommendation_service import RecommendationService diff --git a/backend/app/api/v1/endpoints/speech.py b/backend/app/api/v1/endpoints/speech.py index 9d4cbda..0276e71 100644 --- a/backend/app/api/v1/endpoints/speech.py +++ b/backend/app/api/v1/endpoints/speech.py @@ -5,8 +5,7 @@ from typing import Optional from fastapi import APIRouter, Depends, File, UploadFile, Form, HTTPException from pydantic import BaseModel -from app.core.database import get_db -from app.api.deps import get_current_user +from app.core.deps import get_db, get_current_user from app.models.user import User from app.services.speech_recognition import ( get_speech_recognition_service,