Skip to content

Commit 8e6d5e8

Browse files
committed
B2B-2248: WebAPIAsync missing store information when db queue is used
1 parent db797f6 commit 8e6d5e8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/code/Magento/WebapiAsync/Plugin/AsynchronousOperations/MassConsumerEnvelopeCallback.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function aroundExecute(
104104
$subject->getQueue()->reject($message, false, $e->getMessage());
105105
return;
106106
}
107-
if (isset($storeId) && $storeId !== $currentStoreId) {
107+
if ($storeId !== $currentStoreId) {
108108
$this->storeManager->setCurrentStore($storeId);
109109
}
110110
}

app/code/Magento/WebapiAsync/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"require": {
88
"php": "~7.4.0||~8.1.0",
99
"magento/framework": "*",
10-
"magento/framework-message-queue": "*",
1110
"magento/module-webapi": "*",
1211
"magento/module-asynchronous-operations": "*",
1312
"magento/module-store": "*"

0 commit comments

Comments
 (0)