fix mapper

This commit is contained in:
salam committed 2026-06-07 16:34:19 +02:00
1 parent b4b3f1e1ea
commit 336af556a1
9 files changed
+893 -1432

No files matched your search

+5 -1
View File
@@ -2,6 +2,7 @@
namespace App\Console\Commands\Grapper;
use App\Console\Commands\Grapper\Sofascore\Events;
use App\Console\Commands\Grapper\Sofascore\Tournament;
use App\Console\Commands\Nuh;
use App\Models\SofaScoreCategorie;
@@ -31,13 +32,16 @@ class Sofascore
}
if ($debug) {
Notice::note(Nuh::$options['sport'].' '.Nuh::$options['name'], 'b');
Notice::note(Nuh::$options['sport'] . ' ' . Nuh::$options['name'], 'b');
}
switch (Nuh::$options['name']) {
case 'TOURNAMENTS':
Tournament::load();
break;
case 'EVENTS':
Events::load();
break;
default:
// code...