This commit is contained in:
salam committed 2026-02-22 18:14:35 +01:00
1 parent 64e161a816
commit 9265e576eb
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@ class LoadEvents
->with('home')
->with('away')
->where('sport_id', auth()->user()->sport_id)
->whereDate('starttime', '>', Carbon::now())
->whereDate('starttime', '>', Carbon::now()->subHours(6))
->where(function ($query) use ($element_ids) {
$query->orWhereIn('home_id', $element_ids)->orWhereIn('away_id', $element_ids);
});
@@ -38,7 +38,7 @@ class LoadEvents
->with('home')
->with('away')
->where('sport_id', auth()->user()->sport_id)
->whereDate('starttime', '>', Carbon::now());
->whereDate('starttime', '>', Carbon::now()->subHours(6));
}
switch (Auth::user()->provider_id) {