Skip to content

Commit

Permalink
Fixed searchIndex method name.
Browse files Browse the repository at this point in the history
  • Loading branch information
stooit committed Feb 7, 2023
1 parent 7748c81 commit 8a3a5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ command.builder = (yargs) => {

for (let i = 0; i < jsonFiles.length; i++) {
client(config)
.search_index(jsonFiles[i])
.searchIndex(jsonFiles[i])
.then(response => console.log(chalk.green('Success:') + ` Successfully posted search records in ${jsonFiles[i]}`)) // eslint-disable-line
.catch((err) => console.log(chalk.red.bold('Error:') + ` ${err}`));
}
Expand Down

0 comments on commit 8a3a5e4

Please sign in to comment.