Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

increase delay in fundFinancialAccount

Steven Tey91ce7a24ae4f
diff --git a/apps/web/lib/stripe/fund-financial-account.ts b/apps/web/lib/stripe/fund-financial-account.ts
index 8a9f086910..1ba9d482ce 100644
--- a/apps/web/lib/stripe/fund-financial-account.ts
+++ b/apps/web/lib/stripe/fund-financial-account.ts
@@ -56,7 +56,7 @@ export async function fundFinancialAccount({
);
// small delay to make sure the funds are fully available in the financial account
- await new Promise((resolve) => setTimeout(resolve, 1000));
+ await new Promise((resolve) => setTimeout(resolve, 5000));
return data;
}