Ken há 5 dias atrás
pai
commit
d4211a2c53
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Http/Controllers/admin/User.php

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

@@ -53,7 +53,7 @@ class User extends Controller
     public function index(): JsonResponse
     {
         try {
-            $_GET['page'] = 3;
+            $_GET['limit'] = 3;
             $search = request()->validate([
                 'page' => ['nullable', 'integer', 'min:1'],
                 'limit' => ['nullable', 'integer', 'min:1'],