root 5 years ago
parent
commit
dcbc095d1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/ResetTraffic.php

+ 1 - 1
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
         ]);