fixed: 流水线批量查询运行数据,改成一维数据方便使用

This commit is contained in:
xxq250 2025-01-23 16:19:52 +08:00
parent 4dd920313c
commit a73292ad98
1 changed files with 4 additions and 7 deletions

View File

@ -34,13 +34,10 @@ class Api::Pm::ActionRunsController < Api::Pm::BaseController
@result << {
name: file,
last_action_run: last_action_run_json,
history: {
total: total,
success: success,
failure: failure
}
}
total: total,
success: success,
failure: failure
}.merge(last_action_run)
end
render :json => @result
end