Fix pending transaction check to use week_start parameter
The API was returning keepers transactions (week=0) when querying for week 2 transactions. Changed from 'week' to 'week_start' parameter to properly filter out earlier weeks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f48b83668a
commit
a942475950
@ -461,9 +461,10 @@ class TransactionService(BaseService[Transaction]):
|
||||
"""
|
||||
try:
|
||||
# Get all pending transactions for the week (all teams)
|
||||
# Use week_start to filter out keepers (week=0) and earlier transactions
|
||||
params = [
|
||||
('season', str(season)),
|
||||
('week', str(week)),
|
||||
('week_start', str(week)),
|
||||
('cancelled', 'false'),
|
||||
('frozen', 'false')
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user