From 4e10e787da3c65fb8e1f181df4957d3f0d5ec303 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Mon, 8 Feb 2021 01:39:07 +0100 Subject: [PATCH] Stuff --- app/Http/Controllers/PublicController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/PublicController.php b/app/Http/Controllers/PublicController.php index dc27b02..2c4bc4b 100644 --- a/app/Http/Controllers/PublicController.php +++ b/app/Http/Controllers/PublicController.php @@ -50,7 +50,7 @@ class PublicController extends BaseController } if($page >= ($g->count() / 10)) { - $next = url("/".$tenant->url.".json?page=".($page+1))]; + $next = url("/".$tenant->url.".json?page=".($page+1)); } return response()->json(["pagination" => [ @@ -58,7 +58,7 @@ class PublicController extends BaseController "items_per_page" => 10, "pages" => ($g->count() / 10), "preview" => $preview, - "next" => $next, + "next" => $next], "data" => \App\Http\Resources\Gallery::collection($r)]); } public function listGalleriesView($name, Request $request) {