We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cae64dc + 46e2668 commit 96b301dCopy full SHA for 96b301d
README.md
@@ -78,7 +78,7 @@ The stream will emit objects with keys of `event` and `instance`.
78
79
```js
80
const onData = ({event, instance} => {
81
- console.log(`${instance.$modelOptions.name.singular} had a ${event} event`)
+ console.log(`${instance._modelOptions.name.singular} had a ${event} event`)
82
// might log something like 'cat had a create event'
83
})
84
```
0 commit comments