Skip to content

Commit

Permalink
readme example upd.
Browse files Browse the repository at this point in the history
  • Loading branch information
achesco committed Nov 20, 2013
1 parent 0a44d41 commit a83230a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ require('tumblr-auto-auth').getAuthorizedClient({
debug: true
},
function (error, client) {
client.userInfo(function (err, data) {
if (err)
console.log(err);
else
if (!error) {
client.userInfo(function (error, data) {
console.log(data);
});
});
}
else {
console.log(error);
}
});
```

Expand Down

0 comments on commit a83230a

Please sign in to comment.