From eea2fa98a2058a237c80ad5b83549d85087a6e26 Mon Sep 17 00:00:00 2001 From: Levin Herr Date: Sun, 1 Oct 2023 21:43:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Brouter=20not=20routing=20(#1948?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Backend/BrouterController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/Backend/BrouterController.php b/app/Http/Controllers/Backend/BrouterController.php index f0120cae7..571c2ff05 100644 --- a/app/Http/Controllers/Backend/BrouterController.php +++ b/app/Http/Controllers/Backend/BrouterController.php @@ -55,7 +55,6 @@ public static function getGeoJSONForRoute( Log::debug('[RefreshPolyline] Brouter response was not okay.', ['body' => $response->body()]); throw new InvalidArgumentException('Brouter response was not okay.'); } - throw new InvalidArgumentException('Brouter response was not okay.'); $geoJson = json_decode($response->body(), false, 512, JSON_THROW_ON_ERROR); //remove unnecessary data