You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by ro...@apache.org on 2015/07/12 13:55:40 UTC

[20/50] couchdb-nano git commit: (#260) - its `userCtx.name` not `userCtx.user`

(#260) - its `userCtx.name` not `userCtx.user`

Thanks @elcomandantetibi.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-nano/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-nano/commit/d8d8f70d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-nano/tree/d8d8f70d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-nano/diff/d8d8f70d

Branch: refs/heads/master
Commit: d8d8f70dbb2c5cd21c56ac863e150736ee4ca04e
Parents: 91a0744
Author: Johannes J. Schmidt <jo...@die-tf.de>
Authored: Thu Feb 26 13:23:49 2015 +0100
Committer: Johannes J. Schmidt <jo...@die-tf.de>
Committed: Thu Feb 26 13:23:49 2015 +0100

----------------------------------------------------------------------
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-nano/blob/d8d8f70d/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 4376a42..37d6c69 100644
--- a/README.md
+++ b/README.md
@@ -738,7 +738,7 @@ nano.session(function(err, session) {
   }
 
   console.log('user is %s and has these roles: %j',
-    session.userCtx.user, session.userCtx.roles);
+    session.userCtx.name, session.userCtx.roles);
 });
 ```