Stuff
This commit is contained in:
parent
24c3b2fbb9
commit
66bc1dd51a
1 changed files with 1 additions and 1 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue