Skip to content

Commit

Permalink
MCBFF-38: fix search query
Browse files Browse the repository at this point in the history
  • Loading branch information
imerabishvili committed Jan 24, 2025
1 parent 131db36 commit d6e1f53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class SearchServiceImpl implements SearchService {
@Override
public SearchInstance findInstanceByItemId(String itemId) {
log.info("findInstanceByItemId:: itemId {}", itemId);
String query = String.format("items.id==%s&expandAll=true", itemId);
String query = "items.id==" + itemId;
SearchInstances searchResult = searchClient.findInstances(query, true);
if (CollectionUtils.isEmpty(searchResult.getInstances())) {
return null;
Expand Down

0 comments on commit d6e1f53

Please sign in to comment.