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.

Update create-connected-account.ts

Tim Wilson00fe9ab9f212
diff --git a/apps/web/lib/stripe/create-connected-account.ts b/apps/web/lib/stripe/create-connected-account.ts
index fef4f31e53..3930d6bbdf 100644
--- a/apps/web/lib/stripe/create-connected-account.ts
+++ b/apps/web/lib/stripe/create-connected-account.ts
@@ -6,10 +6,9 @@ export const createConnectedAccount = async ({
name,
email,
country,
-}: Pick<
- z.infer<typeof onboardPartnerSchema>,
- "name" | "email" | "country"
->) => {
+}: Pick<z.infer<typeof onboardPartnerSchema>, "name" | "country"> & {
+ email: string;
+}) => {
const [firstName, lastName] = name.split(" ");
try {