fix some issu
This commit is contained in:
@@ -26,12 +26,8 @@ class CentralSmsApiProvider implements SmsProviderInterface
|
||||
->withHeaders([
|
||||
'Content-Type' => 'application/json',
|
||||
'secret_key' => 'f21debfb-83ac-4624-a2f4-f08375043181',
|
||||
]);
|
||||
|
||||
$curlOptions = Controller::httpClientOptions();
|
||||
if ($curlOptions !== []) {
|
||||
$http = $http->withOptions($curlOptions);
|
||||
}
|
||||
])
|
||||
->withOptions(Controller::httpClientOptions([], 15.0));
|
||||
|
||||
$host = trim((string) ($config['name_fa'] ?? ''));
|
||||
if ($host === '') {
|
||||
|
||||
Reference in New Issue
Block a user