Skip to content

Commit 96b301d

Browse files
authored
Merge pull request #18 from baozdemir/master
Update README.md
2 parents cae64dc + 46e2668 commit 96b301d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The stream will emit objects with keys of `event` and `instance`.
7878

7979
```js
8080
const onData = ({event, instance} => {
81-
console.log(`${instance.$modelOptions.name.singular} had a ${event} event`)
81+
console.log(`${instance._modelOptions.name.singular} had a ${event} event`)
8282
// might log something like 'cat had a create event'
8383
})
8484
```

0 commit comments

Comments
 (0)