Skip to content

Commit

Permalink
Merge pull request #3 from sugarshin/fix-syntax-error
Browse files Browse the repository at this point in the history
Fix syntax error
  • Loading branch information
sugarshin committed May 20, 2017
2 parents 66faab7 + 9ec4cc0 commit 0ffe0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/getChannelMembers.coffee
Expand Up @@ -7,7 +7,7 @@ module.exports = (channelID) -> new Promise (resolve, reject) ->
.then (res) -> res.json()
.then (json) ->
if (json.ok)
channel = json.channels.find c -> c.id is channelID
channel = json.channels.find (c) -> c.id is channelID
resolve channel?.members or []
else
reject new Error json.error or 'Unknown error'
Expand Down

0 comments on commit 0ffe0c4

Please sign in to comment.