diff --git a/api/zefixAPI.php b/api/zefixAPI.php index 89732d4..9e7d493 100644 --- a/api/zefixAPI.php +++ b/api/zefixAPI.php @@ -42,8 +42,6 @@ echo 'Curl error: ' . curl_error($ch); // Close cURL session curl_close($ch); -// Close cURL -curl_close($ch); return $response; } @@ -78,9 +76,6 @@ function sendAPICommunityRequest(string $username, string $password): string|boo // Close cURL session curl_close($ch); -// Close cURL - curl_close($ch); - echo "test"; return $response; } @@ -128,8 +123,6 @@ function sendAPILegalFormRequest(string $username, string $password): string|boo // Close cURL session curl_close($ch); -// Close cURL - curl_close($ch); return $response; }