fix : $debug 변수 오류 수정

This commit is contained in:
2025-07-28 10:28:56 +09:00
parent 6576d89d08
commit 18f65c36b7
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ public static function validate(
public static function response($type = '', $query = '', $key = ''): array
{
if (app()->environment('local')) $debug = true;
$debug = (app()->environment('local')) ? true : false;
if ($debug) DB::enableQueryLog(); // 쿼리 추적
$result = match ($type) {