WIP
This commit is contained in:
1 parent
f31d48288f
commit
3ad8d37ecd
1 file changed
-2
@@ -188,11 +188,9 @@ class BettypeToggle extends Component
|
||||
public function setDifferences()
|
||||
{
|
||||
$a = EventBookmaker::where('bookmaker_id', auth()->user()->bookmaker_id)
|
||||
->where('in_feed', 1)
|
||||
->where('sport_id', auth()->user()->sport_id)
|
||||
->pluck('event_id')->toArray();
|
||||
$b = EventBookmaker::where('bookmaker_id', auth()->user()->partner_bookmaker_id)
|
||||
->where('in_feed', 1)
|
||||
->where('sport_id', auth()->user()->sport_id)
|
||||
->pluck('event_id')->toArray();
|
||||
$result = array_diff($a, $b);
|
||||
|
||||
Reference in new issue
Block a user