diff --git a/app/Http/Controllers/Api/ActivityGameController.php b/app/Http/Controllers/Api/ActivityGameController.php index b38fc27..02fc8a8 100644 --- a/app/Http/Controllers/Api/ActivityGameController.php +++ b/app/Http/Controllers/Api/ActivityGameController.php @@ -36,7 +36,7 @@ class ActivityGameController extends ApiController $game = ActivityGame::whereHas('activity', function($q){ return $q->where('state', '>' ,0); })->show() - ->whereDate('game_at', now()) + // ->whereDate('game_at', now()) ->where('game_at', '>', now()) ->where('state', 1) ->orderBy('game_at', 'asc')->first(); @@ -46,7 +46,7 @@ class ActivityGameController extends ApiController $game = ActivityGame::whereHas('activity', function($q){ return $q->where('state', '>' ,0); })->show() - ->whereDate('game_at', now()) + // ->whereDate('game_at', now()) ->orderBy('game_at', 'desc')->first(); }