Skip to content

Commit 220b48e

Browse files
committed
Update getTasks and uid/taskUid (#188)
1 parent 788dbfb commit 220b48e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Command/MeiliSearchCreateCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8585
}
8686

8787
$task = $indexInstance->{$method}($value);
88+
89+
$indexInstance->waitForTask($task['taskUid']);
8890
$task = $indexInstance->getTask($task['taskUid']);
8991

9092
if ('failed' === $task['status']) {

0 commit comments

Comments
 (0)