Skip to content

Commit

Permalink
feat(concurrent): re-apply concurrent calls for GetStatusByProcessIds…
Browse files Browse the repository at this point in the history
…Handler
  • Loading branch information
wimvdputten committed Mar 21, 2023
1 parent 67c56b1 commit 6096443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bol-com/retailer-api",
"type": "library",
"version": "4.0.2",
"version": "4.0.3",
"authors": [
{
"name": "Reach Digital",
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/ProcessStatus/GetStatusByProcessIdsHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __invoke(GetStatusByProcessIds $getStatusByProcessIds): ProcessS
$promises = [];
$sharedBaseUri = $this->client->getConfig('base_uri')->__toString() === ClientConfig::TEST_API_URL ? ClientConfig::SHARED_TEST_API_URL : ClientConfig::SHARED_API_URL;
foreach ($getStatusByProcessIds->ids() as $id) {
$promises[] = $this->client->get("process-status/{$id}", [
$promises[] = $this->client->getAsync("process-status/{$id}", [
'base_uri' => $sharedBaseUri,
'headers' => [
'Accept' => \BolCom\RetailerApi\Client\ClientConfig::ACCEPT_HEADER,
Expand Down

0 comments on commit 6096443

Please sign in to comment.