From d400acfb170d43e4528d40b5a8e196401377f572 Mon Sep 17 00:00:00 2001 From: Stas Demin Date: Wed, 9 Oct 2024 12:37:56 +0300 Subject: [PATCH] Revert "hotfix: get offices" This reverts commit 44b837614f6bdbd5f9013bca45a842bf9f17609f. --- src/UI/CheckoutMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/CheckoutMap.php b/src/UI/CheckoutMap.php index 3493c21..33e7dde 100644 --- a/src/UI/CheckoutMap.php +++ b/src/UI/CheckoutMap.php @@ -37,7 +37,7 @@ public function __invoke($shippingMethodCurrent): void $points = $city !== -1 ? $api->getOffices([ 'city_code' => $city, - ])->body() : '[]'; + ]) : '[]'; $mapAutoClose = CheckoutHelper::getMapAutoClose();