Skip to content

Commit 2fc5591

Browse files
AC-12755 Improve web api async
1 parent 0212185 commit 2fc5591

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ public function resolve()
132132
$routeServiceMethod = $route->getServiceMethod();
133133
$this->inputArraySizeLimitValue->set($route->getInputArraySizeLimit());
134134

135+
$this->validateParameters($routeServiceClass, $routeServiceMethod, array_keys($route->getParameters()));
136+
135137
foreach ($inputData as $key => $singleEntityParams) {
136138
if (!is_array($singleEntityParams)) {
137139
continue;
138140
}
139141

140-
$this->validateParameters($routeServiceClass, $routeServiceMethod, array_keys($route->getParameters()));
141-
142142
$webapiResolvedParams[$key] = $this->resolveBulkItemParams(
143143
$singleEntityParams,
144144
$routeServiceClass,

0 commit comments

Comments
 (0)