fix some issu
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Services\SmsBilling;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Client\Response;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
@@ -204,7 +205,8 @@ class SuperAdminSmsClient
|
||||
try {
|
||||
$pending = Http::withHeaders($this->authHeaders($method, $canonicalPath))
|
||||
->acceptJson()
|
||||
->timeout($timeout);
|
||||
->timeout($timeout)
|
||||
->withOptions(Controller::httpClientOptions([], (float) $timeout));
|
||||
|
||||
$url = $this->urlForBase($base, $relativeUrl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user