Skip to content

Commit fbe03da

Browse files
author
Ændrew Rininsland
committed
Merge pull request #220 from arosenberg01/patch-1
Clarify docs for 'username' parameter in user.show
2 parents e195ae5 + 6fe043e commit fbe03da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ List unread notifications for the authenticated user.
230230
user.notifications(function(err, notifications) {});
231231
```
232232

233-
Show user information for a particular username. Also works for organizations.
233+
Show user information for a particular username. Also works for organizations. Pass in a falsy value (null, '', etc) for 'username' to retrieve user information for the currently authorized user.
234234

235235
```js
236236
user.show(username, function(err, user) {});

0 commit comments

Comments
 (0)