The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix the customer schema
Kiran K59f6e29e68b7
diff --git a/apps/web/lib/zod/schemas/customers.ts b/apps/web/lib/zod/schemas/customers.tsindex d87781ec71..ff18c6c24c 100644--- a/apps/web/lib/zod/schemas/customers.ts+++ b/apps/web/lib/zod/schemas/customers.ts@@ -2,9 +2,9 @@ import z from "@/lib/zod";export const trackCustomerRequestSchema = z.object({customerId: z.string({ required_error: "customerId is required" }),- customerName: z.string().nullish().default(""),- customerEmail: z.string().email().nullish().default(""),- customerAvatar: z.string().url().nullish().default(""),+ customerName: z.string().nullish(),+ customerEmail: z.string().email().nullish(),+ customerAvatar: z.string().url().nullish(),});export const customersMetadataSchema = z.object({diff --git a/packages/stripe-app/stripe-app.json b/packages/stripe-app/stripe-app.jsonindex 109da28dc2..6420ff3527 100644--- a/packages/stripe-app/stripe-app.json+++ b/packages/stripe-app/stripe-app.json@@ -1,6 +1,6 @@{"id": "com.example.dub",- "version": "0.0.10",+ "version": "0.0.11","name": "Dub","icon": "","permissions": [@@ -33,7 +33,7 @@}},"allowed_redirect_uris": [- "https://1402-103-181-40-112.ngrok-free.app/api/campaigns/callback/stripe"+ "https://bd67-103-177-27-104.ngrok-free.app/api/campaigns/callback/stripe"],"stripe_api_access_type": "oauth","distribution_type": "public"