diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/concerns/integrations_actions.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/concerns/integrations_actions.rb b/app/controllers/concerns/integrations_actions.rb index f5a3ec913c2..09087257888 100644 --- a/app/controllers/concerns/integrations_actions.rb +++ b/app/controllers/concerns/integrations_actions.rb @@ -48,9 +48,12 @@ module IntegrationsActions private + # rubocop: disable Gitlab/ModuleWithInstanceVariables def integration @integration ||= find_or_initialize_non_project_specific_integration(params[:id]) + @service ||= @integration # TODO: remove references to @service https://gitlab.com/gitlab-org/gitlab/-/issues/329759 end + # rubocop: enable Gitlab/ModuleWithInstanceVariables def success_message if integration.active? |