commit | 10e2794498b28e7ced44794de34e8521a60714a6 | [log] [tgz] |
---|---|---|
author | Raymond Camden <raymondcamden@gmail.com> | Wed Aug 09 06:13:21 2017 -0500 |
committer | Carlos Santana <csantana23@gmail.com> | Wed Aug 09 07:13:21 2017 -0400 |
tree | a2d0cd45bcabe04b202018af30fae57785cd91b2 | |
parent | d4b69d77fb2647ea97ff1eb9e7b295bedfc8f428 [diff] |
Update readme.md to fix bug w/ retrieve (#62) The example to get an action doesn't work - this change corrects it.
diff --git a/README.md b/README.md index 36b4a19..27f3740 100644 --- a/README.md +++ b/README.md
@@ -146,7 +146,7 @@ ``` const name = 'reverseWords' -ow.actions.retrieve({name}).then(action => { +ow.actions.get(name).then(action => { console.log('action resource', action) }).catch(err => { console.error('failed to retrieve action', err)