Skip to content
Permalink
Browse files
Bug fix in resource search
  • Loading branch information
isururanawaka committed Sep 14, 2021
1 parent 5ddc6ef commit eb80b2be396c0b6d6cd40aa6da9d69fb6ffc7fa4
Showing 1 changed file with 6 additions and 5 deletions.
@@ -623,12 +623,13 @@ public void searchResource(ResourceSearchRequest
}

}
ResourceSearchResponse.Builder builder = ResourceSearchResponse.newBuilder();
builder.addAllResources(allowedResourceList);
responseObserver.onNext(builder.build());
responseObserver.onCompleted();
return;
}
ResourceSearchResponse.Builder builder = ResourceSearchResponse.newBuilder();
builder.addAllResources(allowedResourceList);
responseObserver.onNext(builder.build());
responseObserver.onCompleted();
return;

} else {
String query = "";
Map<String, Object> userProps = new HashMap<>();

0 comments on commit eb80b2b

Please sign in to comment.