Ken 10 godzin temu
rodzic
commit
7850037c0e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Http/Controllers/admin/User.php

+ 1 - 1
app/Http/Controllers/admin/User.php

@@ -68,7 +68,7 @@ class User extends Controller
                 'username' => ['nullable', 'string', 'min:1'],
                 'register_ip' => ['nullable', 'string', 'min:1'],
                 'order' => ["nullable", 'string', "in:asc,desc"],
-                'by' => ['nullable', 'string', "in:available_balance,created_at"],
+                'by' => ['nullable', 'string', "in:available_balance,created_at,last_active_time"],
             ]);
             $order = request()->input('order', 'desc');
             $by = request()->input('by', 'available_balance');