Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
baozdemir authored Mar 6, 2018
1 parent 168d261 commit 46e2668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The stream will emit objects with keys of `event` and `instance`.

```js
const onData = ({event, instance} => {
console.log(`${instance.$modelOptions.name.singular} had a ${event} event`)
console.log(`${instance._modelOptions.name.singular} had a ${event} event`)
// might log something like 'cat had a create event'
})
```
Expand Down

0 comments on commit 46e2668

Please sign in to comment.