From 28d7f6ccafc9a7759b4063a551d7db045901ab7c Mon Sep 17 00:00:00 2001 From: Gytautas Date: Tue, 17 Oct 2023 10:30:09 +0300 Subject: [PATCH] fix: comment deleted --- src/Service/API/ShipmentApiService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Service/API/ShipmentApiService.php b/src/Service/API/ShipmentApiService.php index 84b1489..ef125a9 100644 --- a/src/Service/API/ShipmentApiService.php +++ b/src/Service/API/ShipmentApiService.php @@ -90,6 +90,7 @@ public function __construct( public function createShipment($addressId, ShipmentData $shipmentData, $orderId) { $address = new Address($addressId); + $isCompany = trim($shipmentData->getCompany()) ? true : false; $firstName = $shipmentData->getName(); if ($isCompany) {