M
MBetterd
-
Your Name authored
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>
19c5baec