From 253b6424182ff74ca48baaf9e27721084f59a336 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Mon, 13 Jan 2025 11:24:21 +0200 Subject: [PATCH] docs: fix validation in restaurant-delivery marketplace recipe (#10925) --- .../recipes/marketplace/examples/restaurant-delivery/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx b/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx index a04e9fa96f..c1c9c6755d 100644 --- a/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx +++ b/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx @@ -2126,8 +2126,8 @@ import { createDeliveryWorkflow } from "../../../workflows/delivery/workflows/cr import { handleDeliveryWorkflow } from "../../../workflows/delivery/workflows/handle-delivery" const schema = zod.object({ - cart_id: zod.string().startsWith("cart_"), - restaurant_id: zod.string().startsWith("res_"), + cart_id: zod.string(), + restaurant_id: zod.string(), }) export async function POST(req: MedusaRequest, res: MedusaResponse) {