Skip to content

Commit 24f69ea

Browse files
committed
magento-engcom/bulk-api#4 Support for Async operations in WebAPI
- Fixed message queue integration test
1 parent 1a00b49 commit 24f69ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/AsynchronousOperations/Model/MassSchedule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,11 @@ public function publishMass($topicName, array $entitiesArray, $groupId = null, $
200200
$asyncResponse->setRequestItems($requestItems);
201201

202202
if ($bulkException->wasErrorAdded()) {
203-
$asyncResponse->setIsErrors(true);
203+
$asyncResponse->setErrors(true);
204204
$bulkException->addData($asyncResponse);
205205
throw $bulkException;
206206
} else {
207-
$asyncResponse->setIsErrors(false);
207+
$asyncResponse->setErrors(false);
208208
}
209209

210210
return $asyncResponse;

0 commit comments

Comments
 (0)