Commit 02a2fad3 authored by lauraMon's avatar lauraMon

Updates namespaced entities

parent 3e4624f6
......@@ -115,7 +115,7 @@ module API
end
desc 'Get pipeline jobs' do
success Entities::Job
success Entities::Ci::Job
end
params do
requires :pipeline_id, type: Integer, desc: 'The pipeline ID'
......@@ -133,11 +133,11 @@ module API
builds = builds.with_preloads
present paginate(builds), with: Entities::Job
present paginate(builds), with: Entities::Ci::Job
end
desc 'Get pipeline bridge jobs' do
success Entities::Bridge
success Entities::Ci::Bridge
end
params do
requires :pipeline_id, type: Integer, desc: 'The pipeline ID'
......@@ -156,7 +156,7 @@ module API
bridges = bridges.with_preloads
present paginate(bridges), with: Entities::Bridge
present paginate(bridges), with: Entities::Ci::Bridge
end
desc 'Gets the variables for a given pipeline' do
......
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