mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 04:34:42 +12:00
build(scripts): send correct data to meilisearch
This commit is contained in:
parent
1eee9dc257
commit
c8227ca533
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ try {
|
|||
console.log('Uploading indices...');
|
||||
for (const index of indicies) {
|
||||
console.log(`Uploading ${index.index}...`);
|
||||
await client.index(index.index).addDocuments([index]);
|
||||
await client.index(index.index).addDocuments(index.data);
|
||||
}
|
||||
|
||||
console.log('Uploaded all indices.');
|
||||
|
|
Loading…
Reference in a new issue