summaryrefslogtreecommitdiff
path: root/lib/api/runners.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/runners.rb')
-rw-r--r--lib/api/runners.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/runners.rb b/lib/api/runners.rb
index 18f9f142580..3ea7340d9be 100644
--- a/lib/api/runners.rb
+++ b/lib/api/runners.rb
@@ -86,7 +86,7 @@ module API
end
desc 'List jobs running on a runner' do
- success Entities::JobWithProject
+ success Entities::JobBasicWithProject
end
params do
requires :id, type: Integer, desc: 'The ID of the runner'
@@ -103,7 +103,7 @@ module API
jobs = jobs.where(status: params[:status].to_sym)
end
- present paginate(jobs), with: Entities::JobWithProject
+ present paginate(jobs), with: Entities::JobBasicWithProject
end
end