docs: fix validation in restaurant-delivery marketplace recipe (#10925)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-01-13 11:24:21 +02:00
1 parent db338e4b5a
commit 253b642418
1 file changed
+2 -2
@@ -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) {