root 5 năm trước cách đây
mục cha
commit
dcbc095d1a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
         ]);