From 32036a5e41e4e5dc46ebdd79d594d9a7effbc8ae Mon Sep 17 00:00:00 2001 From: adrianzofcin <75702986+fetaciik@users.noreply.github.com> Date: Mon, 11 Sep 2023 11:37:28 +0200 Subject: [PATCH] Update ApiResponse.php Updated env('app_debug') to capital letters env('APP_DEBUG') --- src/Helpers/ApiResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helpers/ApiResponse.php b/src/Helpers/ApiResponse.php index ed77249..4bc20c3 100644 --- a/src/Helpers/ApiResponse.php +++ b/src/Helpers/ApiResponse.php @@ -162,7 +162,7 @@ public static function response(int $statusCode = 200): \Illuminate\Http\JsonRes public static function exception(\Exception $exception): \Illuminate\Http\JsonResponse { - if (env('app_debug')) dd($exception); + if (env('APP_DEBUG')) dd($exception); self::$message = __('wamesk-api-response.exception-message', ['file' => $exception->getFile(), 'line' => $exception->getLine()]);