summaryrefslogtreecommitdiff
path: root/app/services/chat_names/authorize_user_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/chat_names/authorize_user_service.rb')
-rw-r--r--app/services/chat_names/authorize_user_service.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/services/chat_names/authorize_user_service.rb b/app/services/chat_names/authorize_user_service.rb
index 6c28a1cea7e..32714831fb8 100644
--- a/app/services/chat_names/authorize_user_service.rb
+++ b/app/services/chat_names/authorize_user_service.rb
@@ -4,8 +4,7 @@ module ChatNames
class AuthorizeUserService
include Gitlab::Routing
- def initialize(integration, params)
- @integration = integration
+ def initialize(params)
@params = params
end
@@ -29,7 +28,6 @@ module ChatNames
def chat_name_params
{
- integration_id: @integration.id,
team_id: @params[:team_id],
team_domain: @params[:team_domain],
chat_id: @params[:user_id],