Fix winning bets count always showing zero in match reports
The result column on BetDetail uses the value 'win' (matching the client
enum), but both counting paths in the sync route were comparing against
'won'. The mismatch meant winning_bets was always 0 regardless of how
many bets had been settled as wins.
Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment