fix flags
This commit is contained in:
1 parent
2cdc70f5a4
commit
7acb1375d4
11 files changed
+1035
-14
No files matched your search
@@ -27,6 +27,7 @@ class LoadEvents
|
||||
$query = Event::query()
|
||||
->with('home')
|
||||
->with('away')
|
||||
->where('has_markets', 1)
|
||||
->where('sport_id', auth()->user()->sport_id)
|
||||
->where(function ($query) use ($element_ids) {
|
||||
$query->orWhereIn('home_id', $element_ids)->orWhereIn('away_id', $element_ids);
|
||||
@@ -35,6 +36,7 @@ class LoadEvents
|
||||
$query = Event::query()
|
||||
->with('home')
|
||||
->with('away')
|
||||
->where('has_markets', 1)
|
||||
->where('sport_id', auth()->user()->sport_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user