You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/08/09 11:13:23 UTC

[incubator-openwhisk-client-js] branch master updated: Update readme.md to fix bug w/ retrieve (#62)

This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-client-js.git


The following commit(s) were added to refs/heads/master by this push:
     new 10e2794  Update readme.md to fix bug w/ retrieve (#62)
10e2794 is described below

commit 10e2794498b28e7ced44794de34e8521a60714a6
Author: Raymond Camden <ra...@gmail.com>
AuthorDate: Wed Aug 9 06:13:21 2017 -0500

    Update readme.md to fix bug w/ retrieve (#62)
    
    The example to get an action doesn't work - this change corrects it.
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 36b4a19..27f3740 100644
--- a/README.md
+++ b/README.md
@@ -146,7 +146,7 @@ ow.actions.create({name, action}).then(result => {
 
 ```
 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)

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].