wip
This commit is contained in:
1 parent
64e161a816
commit
9265e576eb
3 files changed
+4
-4
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user