Skip to content

Commit

Permalink
Avoid exception if team info is not present (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
bklang authored and doomspork committed Dec 15, 2016
1 parent cc79d8d commit 35fd60c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ueberauth/strategy/slack.ex
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ defmodule Ueberauth.Strategy.Slack do
def extra(conn) do
%Extra {
raw_info: %{
auth: conn.private.slack_auth,
token: conn.private.slack_token,
user: conn.private.slack_user,
team: conn.private.slack_team
auth: conn.private[:slack_auth],
token: conn.private[:slack_token],
user: conn.private[:slack_user],
team: conn.private[:slack_team]
}
}
end
Expand Down

0 comments on commit 35fd60c

Please sign in to comment.