fix: apply break-even threshold on player stat profile (2.5.2)

build_leaderboard, player_session_series, and session_breakdown_series
in the player detail and players routes were all called without
league.break_even_cents, so win/loss/even classification always used
the $1.00 default regardless of per-league settings.
This commit is contained in:
SowinskiBraeden committed 2026-06-26 21:51:19 -07:00
1 parent 882726e5e9
commit 51bb8f03f6
3 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ DATA_PATH = BASE_DIR / "data" / "entries.csv"
DEFAULT_DATABASE_URL = f"sqlite:///{BASE_DIR / 'data' / 'boker-dev.sqlite3'}"
ELIGIBLE_MIN_SESSIONS = 3
APP_VERSION = "2.5.1"
APP_VERSION = "2.5.2"
def load_local_env(env_path: Path) -> None: