fix in feed

This commit is contained in:
salam committed 2026-02-16 17:17:01 +01:00
1 parent ecade3f0e5
commit 8c0d9e122b
1 file changed
+2
+2
View File
@@ -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);