Skip to content

Commit

Permalink
Fixes wrong config class member name.
Browse files Browse the repository at this point in the history
  • Loading branch information
hostep committed Mar 4, 2024
1 parent dcb4686 commit 3b8b5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Api/Builder/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ private function getProductDimemension(Item $item)
$dimensionArray = [];
$product = $item->getProduct();

switch ($this->scopeConfig->getDimensionsMetric()) {
switch ($this->config->getDimensionsMetric()) {
case DimensionsMetric::METRIC_MM:
$k = 0.1;
break;
Expand Down

0 comments on commit 3b8b5f1

Please sign in to comment.