summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/alert_management/http_integration/update.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/alert_management/http_integration/update.rb')
-rw-r--r--app/graphql/mutations/alert_management/http_integration/update.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/graphql/mutations/alert_management/http_integration/update.rb b/app/graphql/mutations/alert_management/http_integration/update.rb
index 431fccaa5e5..b1e4ce841ee 100644
--- a/app/graphql/mutations/alert_management/http_integration/update.rb
+++ b/app/graphql/mutations/alert_management/http_integration/update.rb
@@ -24,10 +24,12 @@ module Mutations
response ::AlertManagement::HttpIntegrations::UpdateService.new(
integration,
current_user,
- args.slice(:name, :active)
+ http_integration_params(integration.project, args)
).execute
end
end
end
end
end
+
+Mutations::AlertManagement::HttpIntegration::Update.prepend_if_ee('::EE::Mutations::AlertManagement::HttpIntegration::Update')