fix(billing): correct Pro plan credits display to 10k/mo#948
Merged
Conversation
The Pro plan card in settings.billing showed "Credits: 15k/mo" which did not match the actual plan grant. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…500s Both routes were returning 500 without any actionable log line: - /api/v1/add relied on the apiBuilder catch, which logs the error but has no request context (userId, workspaceId, source). - /auth/google/callback had no try/catch at all, so the failure bubbled up silently. Wrap the handlers, log with request context, then re-throw so the response status is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
settings.billingwas showingCredits: 15k/mo, which didn't match the actual plan grant.Credits: 10k/mo(apps/webapp/app/routes/settings.billing.tsx:668).Notes
PRO_PLAN_CREDITSenv var (default2000inapps/webapp/app/config/billing.server.ts:33). If prod is currently provisioning 15000, that env value should be updated to 10000 alongside this copy fix.Test plan
/settings/billingand verify the Pro card readsCredits: 10k/mo.100k/mo).🤖 Generated with Claude Code