Skip to content

Commit

Permalink
Fix setting Slack token 🙀
Browse files Browse the repository at this point in the history
  • Loading branch information
camsaul committed Mar 4, 2016
1 parent c1aac5f commit aa1620f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/metabase/api/slack.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
;; just check that channels.list doesn't throw an exception (that the connection works)
(when-not config/is-test?
(slack/GET :channels.list, :exclude_archived 1, :token slack-token))
(slack/slack-token slack-token)
{:ok true}
(catch clojure.lang.ExceptionInfo info
{:status 400, :body (ex-data info)})))
Expand Down

0 comments on commit aa1620f

Please sign in to comment.