Skip to content

Commit

Permalink
Merge pull request #11 from answear/ANS-9289-increase-number-of-retur…
Browse files Browse the repository at this point in the history
…n-products-br

ANS-9289 used maxNumResults param in service
  • Loading branch information
ropczan committed Jan 10, 2022
2 parents 13dc8ba + 1ad13ef commit 8913fb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Service/SearchByImageClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ public function searchByFeature(
string $featureId,
string $label,
?string $gender = null,
?string $filters = null
?string $filters = null,
?int $maxNumResults = null
): SearchByFeatureResponse {
return SearchByFeatureResponse::fromArray(
$this->request(self::SEARCH_BY_FEATURE, new SearchByFeatureRequest($featureId, $label, $gender, $filters))
$this->request(self::SEARCH_BY_FEATURE, new SearchByFeatureRequest($featureId, $label, $gender, $filters, $maxNumResults))
);
}
}

0 comments on commit 8913fb3

Please sign in to comment.