mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-31 19:15:17 +02:00
Fix billing card not showing on launch
- Listen for oauth:didConnect event to fetch billing immediately on connect - Make trialDaysRemaining optional in IPC schema for backward compatibility - Default trialDaysRemaining to null when not present in API response Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
62ef1efc82
commit
6a1f83288e
2 changed files with 16 additions and 2 deletions
|
|
@ -564,7 +564,7 @@ const ipcSchemas = {
|
|||
userId: z.string().nullable(),
|
||||
subscriptionPlan: z.string().nullable(),
|
||||
subscriptionStatus: z.string().nullable(),
|
||||
trialDaysRemaining: z.number().nullable(),
|
||||
trialDaysRemaining: z.number().nullable().optional(),
|
||||
sanctionedCredits: z.number(),
|
||||
availableCredits: z.number(),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue