diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2017-11-21 14:37:18 +0300 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2017-11-28 02:36:49 +0300 |
commit | 7b643c02c20e7552a35c09adf8d8dca1e8c3a4a3 (patch) | |
tree | 0e0306598dca71bfaaf84257cb92bc68f9d97052 /lib/api/runners.rb | |
parent | b7ed102ea601fb4c6f65c5a982058f8c92883d31 (diff) |
Modify output
Diffstat (limited to 'lib/api/runners.rb')
-rw-r--r-- | lib/api/runners.rb | 4 |
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 |