diff --git a/composer.json b/composer.json index b4f9717..bebdd99 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "bol-com/retailer-api", "type": "library", - "version": "4.0.2", + "version": "4.0.3", "authors": [ { "name": "Reach Digital", diff --git a/src/Handler/ProcessStatus/GetStatusByProcessIdsHandler.php b/src/Handler/ProcessStatus/GetStatusByProcessIdsHandler.php index 0c0b83d..363c0c3 100644 --- a/src/Handler/ProcessStatus/GetStatusByProcessIdsHandler.php +++ b/src/Handler/ProcessStatus/GetStatusByProcessIdsHandler.php @@ -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,