diff --git a/whmcs/modules/registrars/krystal/API.class.php b/whmcs/modules/registrars/krystal/API.class.php index 6341de7..99a675b 100644 --- a/whmcs/modules/registrars/krystal/API.class.php +++ b/whmcs/modules/registrars/krystal/API.class.php @@ -70,7 +70,8 @@ public function call($route, $method, $url_params = [], $body = [], $options = [ // Set options curl_setopt($cURL, CURLOPT_RETURNTRANSFER, 1); - + curl_setopt($cURL, CURLOPT_FOLLOWLOCATION, true); + // Set headers $headers = []; $headers[] = "X-HTTP-Method-Override: {$method}"; @@ -119,4 +120,3 @@ public function call($route, $method, $url_params = [], $body = [], $options = [ return $response; } } -