Skip to content
Permalink
Browse files
Update slackin to a1d3f9c5b7
  • Loading branch information
mwbrooks committed Jun 22, 2015
1 parent 8e18f01 commit 59da43629a1c425852e497b243d3f9ab23c55157
Showing 1 changed file with 1 addition and 1 deletion.
@@ -44,7 +44,7 @@ export default class SlackData extends EventEmitter {

// reset the list of channels
this.channelsByName = {};
res.body.channels.forEach(channel => {
(res.body.channels || []).forEach(channel => {
this.channelsByName[channel.name] = channel;
});

0 comments on commit 59da436

Please sign in to comment.