BUG: /categories/recommended

This commit is contained in:
EvanLin3141
2025-03-01 22:11:41 +00:00
parent c66c08dbe5
commit 613d50605f
3 changed files with 9 additions and 7 deletions

View File

@@ -60,7 +60,6 @@ def recommended_streams() -> list[dict]:
"""
user_id = session.get("user_id")
# Get the user's most popular categories
category = get_user_preferred_category(user_id)
streams = get_streams_based_on_category(category)
@@ -112,7 +111,7 @@ def recommended_categories() -> list | list[dict]:
"""
user_id = session.get("user_id")
categories = get_user_category_recommendations(user_id)
categories = get_user_category_recommendations(1)
return jsonify(categories)