We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44e2082 commit e58dddeCopy full SHA for e58ddde
1 file changed
src/schemas/customer.ts
@@ -27,7 +27,7 @@ export const CustomerSubscriptionSchema = z.object({
27
*/
28
export const CustomerSchema = z.object({
29
id: z.string(),
30
- email: z.string().nullable().optional(),
+ email: z.string(),
31
name: z.string().nullable().optional(),
32
externalId: z.string().nullable().optional(),
33
subscriptions: z.array(CustomerSubscriptionSchema),
0 commit comments