From 96ead9651849444790bda23c5311f27112fb3621 Mon Sep 17 00:00:00 2001 From: adonis Date: Sat, 27 Jun 2026 13:07:15 +0330 Subject: [PATCH] fix bug in montzar --- app/Services/MontzarService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/MontzarService.php b/app/Services/MontzarService.php index 0b0a7eb..7732452 100644 --- a/app/Services/MontzarService.php +++ b/app/Services/MontzarService.php @@ -2,6 +2,7 @@ namespace App\Services; +use App\Http\Controllers\Controller; use App\Models\Cnt; use App\Models\Order; use App\Models\Setting; @@ -78,7 +79,7 @@ class MontzarService $response = Http::timeout(7) ->acceptJson() - ->withOptions(self::httpClientOptions( + ->withOptions(Controller::httpClientOptions( defined('CURLOPT_TCP_FASTOPEN') ? [(int) constant('CURLOPT_TCP_FASTOPEN') => 1] : [] )) ->withToken($token)