We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3701659 commit 55063d7Copy full SHA for 55063d7
app/code/Magento/Webapi/Controller/PathProcessor.php
@@ -53,7 +53,8 @@ public function process($pathInfo)
53
if (isset($stores[$storeCode])) {
54
$this->storeManager->setCurrentStore($storeCode);
55
$path = '/' . (isset($pathParts[1]) ? $pathParts[1] : '');
56
- } else if ($storeCode === self::ALL_STORE_CODE) {
+ } else if ($storeCode === self::ALL_STORE_CODE || $storeCode === \Magento\Store\Model\Store::ADMIN_CODE) {
57
+ //TODO: eliminate "admin" check after MAGETWO-45544
58
$this->storeManager->setCurrentStore(\Magento\Store\Model\Store::ADMIN_CODE);
59
60
} else {
0 commit comments