select whereDate to where

This commit is contained in:
salam committed 2026-02-25 17:14:56 +01:00
1 parent 79271f22e1
commit d58d543583
15 files changed
+61 -61

No files matched your search

@@ -50,7 +50,7 @@ class EventResource extends Resource
return parent::getEloquentQuery()
->where('has_markets', 1)
->where('sport_id', auth()->user()->sport_id)
->whereDate('starttime', '>=', Carbon::now())
->where('starttime', '>=', Carbon::now())
->count();
}