Commit 900b25a3 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'fix-kwargs-dast-site-profiles-257438' into 'master'

Fix DastSiteProfiles::Update Ruby 2.7 kwarg warn

See merge request gitlab-org/gitlab!44178
parents f0900ae8 8bdbd4e2
...@@ -36,7 +36,7 @@ module Mutations ...@@ -36,7 +36,7 @@ module Mutations
project = authorized_find_project!(full_path: full_path) project = authorized_find_project!(full_path: full_path)
service = ::DastSiteProfiles::UpdateService.new(project, current_user) service = ::DastSiteProfiles::UpdateService.new(project, current_user)
result = service.execute(service_args) result = service.execute(**service_args)
if result.success? if result.success?
{ id: result.payload.to_global_id, errors: [] } { id: result.payload.to_global_id, errors: [] }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment