docs: fix afterChange example

This commit is contained in:
Ontopic
2021-04-24 10:05:02 +02:00
committed by Elliot DeNolf
parent 49ed6279c9
commit f9906e1cdc

View File

@@ -106,7 +106,7 @@ const afterChangeHook = async ({
req, // full express request
operation, // name of the operation ie. 'create', 'update'
}) => {
return data;
return doc;
}
```