From 9e6283c696d17ee0c64c26f67e549a697e99488a Mon Sep 17 00:00:00 2001 From: Keith Bauer Date: Tue, 22 Oct 2024 10:01:56 -0500 Subject: [PATCH] Update JsonResponse --- src/Controller/CheckinRequestController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/CheckinRequestController.php b/src/Controller/CheckinRequestController.php index 2b47b42..8fa36c1 100644 --- a/src/Controller/CheckinRequestController.php +++ b/src/Controller/CheckinRequestController.php @@ -294,6 +294,6 @@ protected function processException($errorType, $errorMessage, \Exception $excep $exception ); - return $this->getResponse()->withJson($errorResp)->withStatus($statusCode); + return $this->getJsonResponse($errorResp)->withStatus($statusCode); } }