Fix: Use correct enum value 'win' instead of 'won' for bet result
- Fix _calculate_summary() to check for result == 'win' (correct enum value) - Previously checked for result == 'won' which doesn't exist in BetResult enum - Add safety check for bet_details to handle lazy loading - Fixes total payout showing 0 when there are winning bets
Showing
Please
register
or
sign in
to comment