Skip to content

Commit 3271500

Browse files
committed
Make achPaymentsEnabled optional
1 parent de6b240 commit 3271500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/types/stripe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const invoiceLinkPostRequestSchema = z.object({
1010
invoiceAmountUsd: z.number().min(50),
1111
contactName: z.string().min(1),
1212
contactEmail: z.string().email(),
13-
achPaymentsEnabled: z.boolean(),
13+
achPaymentsEnabled: z.optional(z.boolean()).default(false),
1414
});
1515

1616
export type PostInvoiceLinkRequest = z.infer<

0 commit comments

Comments
 (0)