Skip to content

Commit

Permalink
forcing /checkout to fail via validate_inventory: "true"
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmanvar committed Sep 27, 2024
1 parent c622f83 commit 9c4b805
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EmpowerPlant/CartViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class CartViewController: UIViewController, UITableViewDelegate, UITableViewData
// ["id":"5", "title":"Plant Stroller"]
]
],
"validate_inventory": "true"
]

let bodyData = try? JSONSerialization.data(
Expand Down

0 comments on commit 9c4b805

Please sign in to comment.