Skip to content

Commit

Permalink
[TSVB] No data in visualizations with annotations (#78794)
Browse files Browse the repository at this point in the history
Closes #78789
  • Loading branch information
DianaDerevyankina committed Sep 30, 2020
1 parent 3535956 commit 03c0d87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function getAnnotations({
if (!searches.length) return { responses: [] };

try {
const data = await searchStrategy.search(req.framework.core, req.requestContext, searches);
const data = await searchStrategy.search(req, searches);

return annotations.reduce((acc, annotation, index) => {
acc[annotation.id] = handleAnnotationResponseBy(data[index].rawResponse, annotation);
Expand Down

0 comments on commit 03c0d87

Please sign in to comment.