From 448630734e6babb49355a78cedf8b557e298cd4a Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Fri, 18 Aug 2023 19:23:35 +0200 Subject: [PATCH] bindle api --- routes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.php b/routes/api.php index 8557ff15..bebf7548 100644 --- a/routes/api.php +++ b/routes/api.php @@ -44,7 +44,7 @@ ->map(fn($item) => [ 'id' => $item->id, 'name' => $item->name, - 'link' => $item->value, + 'link' => strtok($item->value, "?"), 'image' => $item->getFirstMediaUrl('main'), ]); });