Skip to content

Commit

Permalink
Update ApiResponse.php
Browse files Browse the repository at this point in the history
Updated env('app_debug') to capital letters env('APP_DEBUG')
  • Loading branch information
adrianzofcin authored Sep 11, 2023
1 parent 1b17644 commit 32036a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/ApiResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()]);

Expand Down

0 comments on commit 32036a5

Please sign in to comment.