Skip to content

Commit

Permalink
Merge pull request #22 from bigSiebs/master
Browse files Browse the repository at this point in the history
persist uuid written at index time
  • Loading branch information
wilr authored Jun 17, 2020
2 parents 4643262 + 759b6f5 commit 99f2886
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tasks/AlgoliaReindex.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public function run($request)
// Set AlgoliaUUID, in case it wasn't previously set
if (!$item->AlgoliaUUID) {
$item->assignAlgoliaUUID();
$item->write();
}

$batchKey = get_class($item);
Expand Down

0 comments on commit 99f2886

Please sign in to comment.