Remove duplicate ranking_max filter in get_teams #21
Labels
No Label
ai-changes-requested
ai-failed
ai-merged
ai-pr-opened
ai-reviewed
ai-reviewing
ai-reviewing
ai-working
bug
enhancement
evolution
performance
phase-0
phase-1a
phase-1b
phase-1c
phase-1d
security
tech-debt
todo
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-database#21
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
`app/routers_v2/teams.py:136-143`. `ranking_max` filter applied twice. Second is a no-op — likely copy-paste error where `ranking_min` was intended.
Priority: low
Fixed in PR #42: #42
Removed the duplicate
if ranking_max is not Noneblock (lines 141-143) that was a copy-paste no-op of the filter already applied 3 lines earlier.