Skip to content

Commit

Permalink
Merge pull request #56 from ho-nl/concurrent
Browse files Browse the repository at this point in the history
feat(concurrent): re-apply concurrent calls for GetStatusByProcessIds…
  • Loading branch information
wimvdputten authored Mar 21, 2023
2 parents 67c56b1 + 6096443 commit 28c0812
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 28c0812

Please sign in to comment.