Commit 14b47701 authored by Philip Cunningham's avatar Philip Cunningham Committed by Mark Chao

Fix DastScannerProfiles::Update Ruby 2.7 kwarg warn

parent 0a3f158c
...@@ -41,7 +41,7 @@ module Mutations ...@@ -41,7 +41,7 @@ module Mutations
project = authorized_find!(full_path: full_path) project = authorized_find!(full_path: full_path)
service = ::DastScannerProfiles::UpdateService.new(project, current_user) 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? 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