mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fixed: 流水线批量查询运行数据,改成一维数据方便使用
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user