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()]);