diff --git a/app/Console/Commands/Grapper/Logifuture.php b/app/Console/Commands/Grapper/Logifuture.php index 34d159ea..0bef607f 100644 --- a/app/Console/Commands/Grapper/Logifuture.php +++ b/app/Console/Commands/Grapper/Logifuture.php @@ -24,6 +24,8 @@ class Logifuture public static function switch() { + // dd(Nuh::$options); + $debug = Nuh::$options['d'] ?? 0; $echo_data = Nuh::$options['e'] ?? 0; @@ -105,7 +107,9 @@ class Logifuture } if ($event_id_collector) { - // Notice::note($event_id_collector, 'r'); + if ($debug) { + Notice::note($event_id_collector, 'r'); + } EventBookmaker::whereNotIn('event_id', $event_id_collector)->where('bookmaker_id', Nuh::$options['bookmaker_id'])->update(['in_feed' => 0]);