docs: fix afterChange example
This commit is contained in:
@@ -106,7 +106,7 @@ const afterChangeHook = async ({
|
||||
req, // full express request
|
||||
operation, // name of the operation ie. 'create', 'update'
|
||||
}) => {
|
||||
return data;
|
||||
return doc;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user