Skip to content

Commit eae787e

Browse files
committed
Fix getIndexes
1 parent 999a845 commit eae787e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

connectors/meilisearch/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ module.exports = async ({ storeConnector, collectionConnector }) => {
117117
getIndexes: async function () {
118118
try {
119119
const client = MeiliSearch({ apiKey, host })
120-
return await client.getIndexes()
120+
const { results } = await client.getIndexes()
121+
return results
121122
} catch (e) {
122123
console.error(e)
123124
return []

0 commit comments

Comments
 (0)