Skip to content

Fix account plan scopes for self-hosted#1073

Open
ezekg wants to merge 1 commit intomasterfrom
fix/paid-accounts-in-singleplayer
Open

Fix account plan scopes for self-hosted#1073
ezekg wants to merge 1 commit intomasterfrom
fix/paid-accounts-in-singleplayer

Conversation

@ezekg
Copy link
Member

@ezekg ezekg commented Feb 28, 2026

We introduced a bug in #1071 where sparks are only calculated for paid accounts, but when self-hosting, there is no billing or plan concept. Rather, we use the null object pattern, but our scopes don't know that. This resolves that disconnect.

@ezekg ezekg force-pushed the fix/paid-accounts-in-singleplayer branch 2 times, most recently from 2fee9b2 to 8e118df Compare February 28, 2026 07:24
@ezekg ezekg force-pushed the fix/paid-accounts-in-singleplayer branch from 8e118df to 47ed0b7 Compare February 28, 2026 07:28
@ezekg ezekg marked this pull request as ready for review February 28, 2026 07:38
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.

1 participant