46 - A Change in Behavior

This commit is contained in:
Adam Wathan
2016-12-09 16:29:27 -05:00
parent de24da27ea
commit 7069917a18
4 changed files with 12 additions and 7 deletions

View File

@@ -43,6 +43,7 @@ class ConcertOrdersController extends Controller
return response()->json($order, 201);
} catch (PaymentFailedException $e) {
$reservation->cancel();
return response()->json([], 422);
} catch (NotEnoughTicketsException $e) {
return response()->json([], 422);