Update cart.ts

This commit is contained in:
Catalin Pinte 2022-10-05 15:45:21 +03:00
parent 577609a71b
commit 8cd67f8539

View File

@ -1,7 +1,7 @@
import { z } from 'zod' import { z } from 'zod'
export const getCartBodySchema = z.object({ export const getCartBodySchema = z.object({
cartId: z.string(), cartId: z.string().optional(),
}) })
export const cartItemBodySchema = z.object({ export const cartItemBodySchema = z.object({