From 9c4b8056dfcee9834e579c8ce6810cbc951929be Mon Sep 17 00:00:00 2001 From: Neil Manvar Date: Fri, 27 Sep 2024 14:31:40 -0700 Subject: [PATCH] forcing /checkout to fail via `validate_inventory: "true"` --- EmpowerPlant/CartViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/EmpowerPlant/CartViewController.swift b/EmpowerPlant/CartViewController.swift index 0310d04..6bbc09a 100644 --- a/EmpowerPlant/CartViewController.swift +++ b/EmpowerPlant/CartViewController.swift @@ -92,6 +92,7 @@ class CartViewController: UIViewController, UITableViewDelegate, UITableViewData // ["id":"5", "title":"Plant Stroller"] ] ], + "validate_inventory": "true" ] let bodyData = try? JSONSerialization.data(