Skip to content

Commit

Permalink
query_string cut from method callback_url
Browse files Browse the repository at this point in the history
  • Loading branch information
vadim7j7 committed Feb 14, 2017
1 parent a85a386 commit a88686e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/omniauth/strategies/slack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ def bot_info
return {} unless access_token.params.key? 'bot'
access_token.params['bot']
end

private

def callback_url
full_host + script_name + callback_path
end
end
end
end

0 comments on commit a88686e

Please sign in to comment.