From cd005727021a20ff361a3a6fc7de082f3bef9fe5 Mon Sep 17 00:00:00 2001 From: Mathias Palmqvist Date: Wed, 25 Jun 2025 21:33:15 +0200 Subject: [PATCH] WIP --- src/Http/Controllers/PlausibleEventApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Controllers/PlausibleEventApiController.php b/src/Http/Controllers/PlausibleEventApiController.php index c9a72ff..011318f 100644 --- a/src/Http/Controllers/PlausibleEventApiController.php +++ b/src/Http/Controllers/PlausibleEventApiController.php @@ -11,7 +11,7 @@ class PlausibleEventApiController public function __invoke(PlausibleEventRequest $request): JsonResponse { $headers = collect($request->headers->all()) - ->mapWithKeys(fn ($value, $key) => [$key => is_array($value) ? implode(', ', $value) : $value]) + ->mapWithKeys(fn ($value, $key) => [$key => implode(', ', $value)]) ->all(); Http::withHeaders($headers)