We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853ee0c commit 646b0cdCopy full SHA for 646b0cd
src/services/ResourceService.js
@@ -569,8 +569,9 @@ async function searchOSWithScroll (mustQuery) {
569
}
570
571
const osClient = await helper.getOSClient()
572
- const searchResponse = await osClient.search(osQuery).body
573
-
+ const searchResponse = await osClient.search(osQuery)
+ logger.debug(`OS Results: ${JSON.stringify(searchResponse)}`)
574
+ searchResponse = searchResponse.body
575
// eslint-disable-next-line camelcase
576
const { _scroll_id, hits } = searchResponse
577
const totalHits = hits.total
0 commit comments