Skip to content

Commit

Permalink
fix(api): return direct results for getSavedResult (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored Sep 20, 2019
1 parent e6c620c commit 05e5a67
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ const getSavedResult = async query => {
// get ES results for a known query
logger.info(`getSavedResult: ${knownQuery.title}`);
const refs = await getEsReferences(knownQuery.refs);
return {
hits: {
hits: refs
}
};
return refs;
}
};

Expand Down

0 comments on commit 05e5a67

Please sign in to comment.