select whereDate to where
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user