Skip to content

Commit

Permalink
Adding the ability to specify a store or website code instead of an i…
Browse files Browse the repository at this point in the history
…dentifier
  • Loading branch information
Daseraf committed Aug 19, 2024
1 parent 46e5051 commit 857a0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Console/Command/Sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function execute(
$scopeId = $this->storeManager->getWebsite($scopeId)->getId();
}
if ($scope === 'stores') {
$scopeId = $this->storeManager->getWebsite($scopeId)->getId();
$scopeId = $this->storeManager->getStore($scopeId)->getId();
}
}
} catch (\Exception $e) {
Expand Down

0 comments on commit 857a0ac

Please sign in to comment.