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

Commit 1f49c54

Browse files
- Fix property access reference.
- Fix property access reference.
1 parent 00e4904 commit 1f49c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Engines/TypesenseSearchEngine.php

Lines changed: 1 addition & 1 deletion
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()) && $models->softDelete) {
47+
if ($this->usesSoftDelete($models->first()) && $models->first()->softDelete) {
4848
$models->each->pushSoftDeleteMetadata();
4949
}
5050

0 commit comments

Comments
 (0)