Commit fabb8afb authored by Mark Chao's avatar Mark Chao

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

Fix DastScannerProfiles::Update Ruby 2.7 kwarg warn

See merge request gitlab-org/gitlab!44183
parents 36b99974 14b47701
......@@ -41,7 +41,7 @@ module Mutations
project = authorized_find!(full_path: full_path)
service = ::DastScannerProfiles::UpdateService.new(project, current_user)
result = service.execute({ **service_args, id: gid.model_id })
result = service.execute(**service_args, id: gid.model_id)
if result.success?
{ 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