diff --git a/src/repository/savedVideosRepository.py b/src/repository/savedVideosRepository.py index 75f8c08..267b08f 100644 --- a/src/repository/savedVideosRepository.py +++ b/src/repository/savedVideosRepository.py @@ -109,10 +109,3 @@ def remove_favorite(db: Session, video_id: str, user_id: str): else: raise HTTPException(status_code=404, detail="Video not found in favorites") -def get_favorite_videos(db: Session, user_id: str): - user_id = user_id.strip() - favorite_entries = db.query(savedVideosModel.WatchLater).filter( - savedVideosModel.WatchLater.user_id == user_id, - savedVideosModel.WatchLater.statusfavorite == True - ).all() - return favorite_entries \ No newline at end of file