From 46e266852e02608964fd6703be49f1dc3c6cd973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20=C3=96ZDEM=C4=B0R?= Date: Tue, 6 Mar 2018 19:17:39 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c7aaf2e..380420b 100644 --- a/README.md +++ b/README.md @@ -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' }) ```