Skip to content

Commit

Permalink
Merge pull request #18 from baozdemir/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
joeybaker authored Apr 26, 2018
2 parents cae64dc + 46e2668 commit 96b301d
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 96b301d

Please sign in to comment.