lib/mb/api/v1/jobs_endpoint.rb in motherbrain-0.14.3 vs lib/mb/api/v1/jobs_endpoint.rb in motherbrain-0.14.4
- old
+ new
@@ -8,10 +8,10 @@
end
namespace 'jobs' do
desc "list all jobs (completed and active)"
get do
- job_manager.list
+ job_manager.list.to_a
end
desc "list all active jobs"
get 'active' do
job_manager.active