Skip to content

Commit 4478773

Browse files
committed
Merge branch 'fix-bulk-task-cleanup-admin-error' of https://github.com/texboy/magento2 into ACP2E-1245
2 parents 9c42b97 + aa96e29 commit 4478773

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/AsynchronousOperations/Controller/Adminhtml/Notification

1 file changed

+1
-1
lines changed

app/code/Magento/AsynchronousOperations/Controller/Adminhtml/Notification/Dismiss.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function execute()
5555
$isAcknowledged = $this->notificationManagement->acknowledgeBulks($bulkUuids);
5656

5757
/** @var \Magento\Framework\Controller\Result\Json $result */
58-
$result = $this->resultFactory->create(ResultFactory::TYPE_JSON);
58+
$result = $this->resultFactory->create(ResultFactory::TYPE_JSON)->setData(['']);
5959
if (!$isAcknowledged) {
6060
$result->setHttpResponseCode(400);
6161
}

0 commit comments

Comments
 (0)