Skip to content

Commit e5d87d3

Browse files
committed
Tweaks
1 parent dcd5345 commit e5d87d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ResourceService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ async function searchOS (mustQuery, perPage, page, sortCriteria) {
644644
const osClient = await helper.getOSClient()
645645
let docs
646646
try {
647-
docs = await osClient.search(osQuery).body
647+
docs = await osClient.search(osQuery)
648648
} catch (e) {
649649
// Catch error when the ES is fresh and has no data
650650
logger.info(`Query Error from ES ${JSON.stringify(e)}`)

0 commit comments

Comments
 (0)