Skip to content

Commit

Permalink
Updates the example-web-client to fix a mis-named variable
Browse files Browse the repository at this point in the history
H/T to @misterdai
  • Loading branch information
l12s committed Feb 13, 2016
1 parent 0374306 commit fa5f96c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example-web-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ var WebClient = require('../lib/clients/web/client');
var token = process.env.SLACK_API_TOKEN || '';
var web = new WebClient(token);

web.team.info(function teamInfoCb(err, channels) {
web.team.info(function teamInfoCb(err, info) {
if (err) {
console.log('Error:', err);
} else {
console.log('Team Info:', channels);
console.log('Team Info:', info);
}
});

0 comments on commit fa5f96c

Please sign in to comment.