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();