Commit 9c2f1e3d authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'philipcunningham-fix-constant-issue' into 'master'

Fix uninitialized constant Audit::UpdateService

See merge request gitlab-org/gitlab!65519
parents 15ddf9d3 38c9fb90
......@@ -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?
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,
new_params: params.dup,
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