diff --git a/app/Console/Commands/ResetTraffic.php b/app/Console/Commands/ResetTraffic.php index 011e3bab..a717ed66 100644 --- a/app/Console/Commands/ResetTraffic.php +++ b/app/Console/Commands/ResetTraffic.php @@ -38,7 +38,7 @@ class ResetTraffic extends Command */ public function handle() { - User::update([ + User::all()->update([ 'u' => 0, 'd' => 0 ]);