This commit is contained in:
salam committed 2026-02-27 16:13:19 +01:00
1 parent f31d48288f
commit 3ad8d37ecd
1 file changed
-2
-2
View File
@@ -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);