Commit 1875b195 authored by James Fargher's avatar James Fargher

Merge branch 'update_composer_event_name' into 'master'

Update name of Composer event to push_package

See merge request gitlab-org/gitlab!39398
parents 26efb338 974f30af
......@@ -123,7 +123,7 @@ module API
bad_request!
end
track_event('register_package')
track_event('push_package')
::Packages::Composer::CreatePackageService
.new(authorized_user_project, current_user, declared_params)
......
......@@ -72,7 +72,7 @@ RSpec.shared_examples 'Composer package creation' do |user_type, status, add_mem
expect(response).to have_gitlab_http_status(status)
end
it_behaves_like 'a gitlab tracking event', described_class.name, 'register_package'
it_behaves_like 'a gitlab tracking event', described_class.name, 'push_package'
end
end
......
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