From 1e805fc769133ad029bb03b9de7df454c1d84c92 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Mon, 8 Feb 2021 01:24:33 +0100 Subject: [PATCH] Stuff --- app/Http/Controllers/PublicController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/PublicController.php b/app/Http/Controllers/PublicController.php index f7f1bc5..5ce9df2 100644 --- a/app/Http/Controllers/PublicController.php +++ b/app/Http/Controllers/PublicController.php @@ -41,7 +41,7 @@ class PublicController extends BaseController $g = collect($galleries); $r = $g->forPage($request->input("page", 1), 10); - return response()->json([["pagination" => ["total" => $g->count(), "pages" => ($g->count() / 10)], "data" => \App\Http\Resources\Gallery::collection($r)); + return response()->json(["pagination" => ["total" => $g->count(), "pages" => ($g->count() / 10)], "data" => \App\Http\Resources\Gallery::collection($r)]); } public function listGalleriesView($name, Request $request) { $tenant = Tenant::query()->where("url", "=", $name)->firstOrFail();