fixed kilo in metals 6

This commit is contained in:
2026-06-23 22:05:47 +03:30
parent 1b310b4752
commit 0c46a0a24c
3 changed files with 44 additions and 25 deletions
+3 -6
View File
@@ -78,12 +78,9 @@ class MontzarService
$response = Http::timeout(7)
->acceptJson()
->withOptions([
'curl' => [
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
CURLOPT_TCP_FASTOPEN => 1,
],
])
->withOptions(self::httpClientOptions(
defined('CURLOPT_TCP_FASTOPEN') ? [(int) constant('CURLOPT_TCP_FASTOPEN') => 1] : []
))
->withToken($token)
->get($this->endpoint('/server/customer/product/list'))
->json();