Skip to content

Commit ac84cae

Browse files
committed
fix: return type
1 parent db259d2 commit ac84cae

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/services/ResourceService.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,12 @@ async function searchESWithScroll (mustQuery) {
539539
}
540540
})
541541

542-
return hits
542+
return {
543+
hits: {
544+
total: hits.total,
545+
hits: hits.hits
546+
}
547+
}
543548
}
544549

545550
/**

0 commit comments

Comments
 (0)