Skip to content

Commit f76bb3f

Browse files
committed
Fix team ID reference in get_plans endpoint
Replaces usage of current_team.id with current_team.team_id when fetching plans, ensuring correct team identifier is used for plan retrieval.
1 parent 358ffb1 commit f76bb3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/v3/api/router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ async def get_plans(request: Request):
10281028
if not current_team:
10291029
return []
10301030

1031-
all_plans = await memory_store.get_all_plans_by_team_id(team_id=current_team.id)
1031+
all_plans = await memory_store.get_all_plans_by_team_id(team_id=current_team.team_id)
10321032

10331033
return all_plans
10341034

0 commit comments

Comments
 (0)