Skip to content

Commit 4f8161c

Browse files
fix: correct item reference in TopPicksService for accurate recommendation processing
1 parent ed126a7 commit 4f8161c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/services/recommendation/top_picks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ async def _fetch_recommendations_from_top_items(
152152
tasks = []
153153

154154
for item in top_items:
155+
item = item.item
155156
item_id = item.get("_id", "")
156157
if not item_id:
157158
continue

0 commit comments

Comments
 (0)