Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Commit e74205b

Browse files
- Fix softDelete reference
- Fix softDelete reference
1 parent 13a8247 commit e74205b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Engines/TypesenseSearchEngine.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function update($models): void
4444
{
4545
$collection = $this->typesense->getCollectionIndex($models->first());
4646

47-
if ($this->usesSoftDelete($models->first()) && $this->softDelete) {
47+
if ($this->usesSoftDelete($models->first()) && $models->softDelete) {
4848
$models->each->pushSoftDeleteMetadata();
4949
}
5050

@@ -263,4 +263,4 @@ public function deleteIndex($name): array
263263
return $this->typesense->deleteCollection($name);
264264
}
265265

266-
}
266+
}

0 commit comments

Comments
 (0)