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 << { @result << {
name: file, name: file,
last_action_run: last_action_run_json, total: total,
history: { success: success,
total: total, failure: failure
success: success, }.merge(last_action_run)
failure: failure
}
}
end end
render :json => @result render :json => @result
end end