From 44b837614f6bdbd5f9013bca45a842bf9f17609f Mon Sep 17 00:00:00 2001 From: Stas Demin Date: Tue, 8 Oct 2024 16:38:37 +0300 Subject: [PATCH] hotfix: get offices --- 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 33e7dde..3493c21 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();