Explorar el Código

Update PublicApiController, increase home timeline limit to 40

Daniel Supernault hace 5 años
padre
commit
5c327a0ae2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/PublicApiController.php

+ 1 - 1
app/Http/Controllers/PublicApiController.php

@@ -332,7 +332,7 @@ class PublicApiController extends Controller
           'page'        => 'nullable|integer|max:40',
           'min_id'      => 'nullable|integer|min:0|max:' . PHP_INT_MAX,
           'max_id'      => 'nullable|integer|min:0|max:' . PHP_INT_MAX,
-          'limit'       => 'nullable|integer|max:20'
+          'limit'       => 'nullable|integer|max:40'
         ]);
 
         $page = $request->input('page');