Skip to content

Commit

Permalink
msearch-785: turn off check of central tenant for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mukhiddin-yusuf committed Jun 21, 2024
1 parent 38f6fb9 commit 63c34c2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ public ResponseEntity<ConsortiumItem> getConsortiumItem(UUID id, String tenantHe
@Override
public ResponseEntity<ConsortiumHoldingCollection> fetchConsortiumBatchHoldings(String tenantHeader,
BatchIdsDto batchIdsDto) {
var tenant = verifyAndGetTenant(tenantHeader);
//var tenant = verifyAndGetTenant(tenantHeader);
var holdingIds = batchIdsDto.getIds().stream().map(UUID::toString).collect(Collectors.toSet());
var searchRequest = idsCqlRequest(tenant, INSTANCE_HOLDING_FIELD_NAME, holdingIds);
var searchRequest = idsCqlRequest(tenantHeader, INSTANCE_HOLDING_FIELD_NAME, holdingIds);

var result = searchService.fetchConsortiumBatchHoldings(searchRequest, holdingIds);
return ResponseEntity.ok(result);
Expand Down

0 comments on commit 63c34c2

Please sign in to comment.