fix : $debug 변수 오류 수정
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user