fix bug in montzar
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Services;
|
namespace App\Services;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
use App\Models\Cnt;
|
use App\Models\Cnt;
|
||||||
use App\Models\Order;
|
use App\Models\Order;
|
||||||
use App\Models\Setting;
|
use App\Models\Setting;
|
||||||
@@ -78,7 +79,7 @@ class MontzarService
|
|||||||
|
|
||||||
$response = Http::timeout(7)
|
$response = Http::timeout(7)
|
||||||
->acceptJson()
|
->acceptJson()
|
||||||
->withOptions(self::httpClientOptions(
|
->withOptions(Controller::httpClientOptions(
|
||||||
defined('CURLOPT_TCP_FASTOPEN') ? [(int) constant('CURLOPT_TCP_FASTOPEN') => 1] : []
|
defined('CURLOPT_TCP_FASTOPEN') ? [(int) constant('CURLOPT_TCP_FASTOPEN') => 1] : []
|
||||||
))
|
))
|
||||||
->withToken($token)
|
->withToken($token)
|
||||||
|
|||||||
Reference in New Issue
Block a user