Skip to content

Commit

Permalink
fix store ID
Browse files Browse the repository at this point in the history
  • Loading branch information
zlik committed Sep 6, 2023
1 parent ac3fd92 commit a403bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Meta/Sales/Plugin/ShippingSyncer.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private function syncShippingProfilesForStore(string $eventType, $storeId)
}

try {
$this->shippingData->setStoreId($storeId);
$this->shippingData->setStoreId((int)$storeId);
$shippingProfiles = [
$this->shippingData->buildShippingProfile(ShippingProfileTypes::TABLE_RATE),
$this->shippingData->buildShippingProfile(ShippingProfileTypes::FLAT_RATE),
Expand Down

0 comments on commit a403bf2

Please sign in to comment.