mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
refactor(onboarding): remove billing info check during Rowboat OAuth connection
Eliminated the billing information check that was previously in place to prevent duplicate Stripe customers during the onboarding process. This change simplifies the onboarding flow while maintaining the necessary checks for composio flags after account connection.
This commit is contained in:
parent
f6562a9895
commit
0e260d5fb3
1 changed files with 0 additions and 8 deletions
|
|
@ -535,14 +535,6 @@ export function useOnboardingState(open: boolean, onComplete: () => void) {
|
|||
|
||||
const cleanup = window.ipc.on('oauth:didConnect', async (event) => {
|
||||
if (event.provider === 'rowboat' && event.success) {
|
||||
// Ensure user record exists before advancing (prevents duplicate
|
||||
// Stripe customers from parallel API calls in later steps)
|
||||
try {
|
||||
await window.ipc.invoke('billing:getInfo', null)
|
||||
} catch (error) {
|
||||
console.error('Failed to fetch billing info during onboarding:', error)
|
||||
}
|
||||
|
||||
// Re-check composio flags now that the account is connected
|
||||
try {
|
||||
const [googleResult, calendarResult] = await Promise.all([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue