diff --git a/api/zefixAPI.php b/api/zefixAPI.php index c8c1bb6..a00ed0b 100644 --- a/api/zefixAPI.php +++ b/api/zefixAPI.php @@ -84,8 +84,8 @@ function sendAPICommunityRequest(string $username, string $password): string|boo } function communityCSV(string $username, string $password): string { - $response = sendAPICommunityRequest($username, $password); echo "$response"; + $response = sendAPICommunityRequest($username, $password); $communityArray = json_decode($response, true); $csvOutput = 'bfsId,Kanton,Gemeindename,registryOfCommerceId\n'; // Create CSV rows