diff --git a/app/Http/Controllers/PublicController.php b/app/Http/Controllers/PublicController.php index 880ada1..e30c390 100644 --- a/app/Http/Controllers/PublicController.php +++ b/app/Http/Controllers/PublicController.php @@ -55,7 +55,7 @@ class PublicController extends BaseController return response()->json(["pagination" => [ "total" => $g->count(), - "items_per_page" => $limit, + "items_per_page" => (int)$limit, "pages" => (int)($g->count() / $limit), "preview" => $preview, "next" => $next],