Commit 38c9fb90 authored by Philip Cunningham's avatar Philip Cunningham

Fix uninitialized constant Audit::UpdateService

- Use full path when referring to Audit::Update service

Changelog: fixed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65519
EE: true
parent 72e7b4b5
...@@ -22,7 +22,7 @@ module AppSec ...@@ -22,7 +22,7 @@ module AppSec
return ServiceResponse.error(message: _('Cannot modify %{profile_name} referenced in security policy') % { profile_name: dast_site_profile.name }) if referenced_in_security_policy? return ServiceResponse.error(message: _('Cannot modify %{profile_name} referenced in security policy') % { profile_name: dast_site_profile.name }) if referenced_in_security_policy?
ActiveRecord::Base.transaction do ActiveRecord::Base.transaction do
auditor = Audit::UpdateService.new(project, current_user, { auditor = AppSec::Dast::SiteProfiles::Audit::UpdateService.new(project, current_user, {
dast_site_profile: dast_site_profile, dast_site_profile: dast_site_profile,
new_params: params.dup, new_params: params.dup,
old_params: dast_site_profile.attributes.symbolize_keys.merge( old_params: dast_site_profile.attributes.symbolize_keys.merge(
......
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