Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
chore: add comment back
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed May 16, 2019
1 parent 7e922d5 commit e291ef9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ const multiIndexSearch = (
})
);

// We attach `indexId` on the results to be able to reconstruct the
// object client side. We cannot rely on `state.index` anymore because
// we may have multiple times the same index.
return Promise.all(search).then(results =>
[indexName, ...indexIds].map((indexId, i) => ({
...results[i],
Expand Down

0 comments on commit e291ef9

Please sign in to comment.