This commit is contained in:
salam committed 2026-07-22 08:58:44 +02:00
1 parent 98c61bfcd1
commit 1890b1fcc2
4 files changed
+16 -16

No files matched your search

@@ -21,6 +21,8 @@ class Grapper
{
$debug = Nuh::$options['d'] ?? 0;
$force = Nuh::$options['f'] ?? 0;
$task_id = Nuh::$options['task'] ?? 0;
$restart = Nuh::$options['restart'] ?? 0;
@@ -84,7 +86,7 @@ class Grapper
foreach ($data['events'] as $event) {
if (SofaScoreEventGrapped::where('id', (int) $event['id'])->exists()) {
if (!$force && SofaScoreEventGrapped::where('id', (int) $event['id'])->exists()) {
if ($debug) {
Notice::note('Grapped ' . $day . ' - ' . $event['homeTeam']['name'] . ' vs ' . $event['awayTeam']['name'], 'g');
}
@@ -35,7 +35,7 @@ class LoadDays
case 'daily':
$dates[] = [
'day' => Carbon::now()->subDay()->format('Y-m-d'),
'day' => Carbon::now()->subDays(3)->format('Y-m-d'),
'slug' => $task->sport->ss_slug,
'sport_id' => $task->sport_id,
];
@@ -14,7 +14,6 @@ class SofaScoreTaskForm
public static function configure(Schema $schema): Schema
{
return $schema
->columns(5)
->components([
TextInput::make('name')
->required(),