Chore: Routine Bugfixes and enhancements (#979)
- Fix slack scopes - Docs for authentication Fixes: #704 , #973
This commit is contained in:
@@ -89,9 +89,6 @@ class Integrations::Slack::IncomingMessageBuilder
|
||||
end
|
||||
|
||||
def slack_client
|
||||
Slack.configure do |config|
|
||||
config.token = integration_hook.access_token
|
||||
end
|
||||
Slack::Web::Client.new
|
||||
@slack_client ||= Slack::Web::Client.new(token: @integration_hook.access_token)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user