Skip to content

Commit 358e655

Browse files
authored
Fix type on softDelete docs (#609)
1 parent d0a1d82 commit 358e655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1956,7 +1956,7 @@ Flag records as logically deleted instead of physically removing them. Requires
19561956
| `deletedQuery` | `Function|Object` | `{ deleted: { $ne: true } }` | An object or async function that takes the query which returns the part of the query to exclude deleted entrie
19571957
| `removeData` | `Function|Object` | `{ deleted: true }` | An object or async function that returns the data used to flag an entry as deleted
19581958

1959-
By default, `softDelete` queries for a `deleted` property not set to `true` (meaning it can either exist of be anything else).
1959+
By default, `softDelete` queries for a `deleted` property not set to `true` (meaning it can either exist or be anything else).
19601960

19611961
Setting `params.disableSoftDelete` to `true` allows to skip the `softDelete` hook.
19621962

0 commit comments

Comments
 (0)