Skip to content

Commit 57d2253

Browse files
Update backend/app/expenses/service.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 171147e commit 57d2253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/expenses/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ async def get_friends_balance_summary(self, user_id: str) -> Dict[str, Any]:
10701070
}
10711071

10721072
# Extract unique friend IDs for batch fetching
1073-
friend_ids = list(set(result["_id"] for result in results))
1073+
friend_ids = list({result["_id"] for result in results})
10741074

10751075
# Build group map from groups we already fetched
10761076
groups_map = {str(g["_id"]): g.get("name", "Unknown Group") for g in groups}

0 commit comments

Comments
 (0)