fix mapper
This commit is contained in:
1 parent
b4b3f1e1ea
commit
336af556a1
9 files changed
+893
-1432
No files matched your search
@@ -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...
|
||||
|
||||
Reference in new issue
Block a user