Skip to content

Commit

Permalink
fix: comment deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
GytisZum committed Oct 17, 2023
1 parent 7651e92 commit 28d7f6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Service/API/ShipmentApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 28d7f6c

Please sign in to comment.