fix in feed
This commit is contained in:
1 parent
ecade3f0e5
commit
8c0d9e122b
1 file changed
+2
@@ -177,9 +177,11 @@ 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