Skip to content

fix(pioneer): return pioneer_credits_remaining from /account/pioneer/status#37

Merged
WayforthOfficial merged 1 commit into
mainfrom
fix/pioneer-status-reserve-balance
Jun 22, 2026
Merged

fix(pioneer): return pioneer_credits_remaining from /account/pioneer/status#37
WayforthOfficial merged 1 commit into
mainfrom
fix/pioneer-status-reserve-balance

Conversation

@WayforthOfficial

Copy link
Copy Markdown
Owner

The dashboard Pioneer reserve bar reads /account/pioneer/status, which never returned the reserve pool balance → bar got undefined → empty state, even though the pool is funded (/billing/balance returns pioneer_credits_remaining: 1200).

Added pioneer_credits_remaining = live user_credits.pioneer_credits_balance (same value/source as /billing/balance). Verified it returns 1200.

🤖 Generated with Claude Code

…status

The dashboard's Pioneer reserve bar reads /account/pioneer/status, but that
endpoint never returned the reserve pool balance — only daily_credits,
credits_earned_this_month, drip_credits_this_cycle, daily_drip_rate. So the bar
got `undefined` and rendered the empty state even though the pool is funded
(/billing/balance returns pioneer_credits_remaining: 1200).

Added pioneer_credits_remaining (live user_credits.pioneer_credits_balance — the
SAME value /billing/balance returns) to the response so the bar renders the real
pool balance.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@WayforthOfficial WayforthOfficial merged commit 5a4e728 into main Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants