Skip to content

Commit fa1fc1f

Browse files
committed
ACP2E-763: Bulk Rest API not working
1 parent ef0ffcd commit fa1fc1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/WebapiAsync/Controller/Rest/Asynchronous/InputParamsResolver.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,13 @@ public function resolve()
113113

114114
$this->requestValidator->validate();
115115
$webapiResolvedParams = [];
116+
$inputData = $this->getInputData();
116117
$route = $this->getRoute();
117118
$routeServiceClass = $route->getServiceClass();
118119
$routeServiceMethod = $route->getServiceMethod();
119120
$this->inputArraySizeLimitValue->set($route->getInputArraySizeLimit());
120121

121-
foreach ($this->getInputData() as $key => $singleEntityParams) {
122+
foreach ($inputData as $key => $singleEntityParams) {
122123
$webapiResolvedParams[$key] = $this->resolveBulkItemParams(
123124
$singleEntityParams,
124125
$routeServiceClass,

0 commit comments

Comments
 (0)