Browse Source

修复:失败状态

pull/347/head
yystopf 1 year ago
parent
commit
dee3d1c438
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/api/v1/projects/actions/actions_controller.rb

+ 1
- 1
app/controllers/api/v1/projects/actions/actions_controller.rb View File

@@ -28,7 +28,7 @@ class Api::V1::Projects::Actions::ActionsController < Api::V1::Projects::Actions
group_data.each do |k,v|
total += v if k[0] == file
success += v if k[0] == file && k[1] == 1
failure += v if k[0] == file && k[1] == 1
failure += v if k[0] == file && k[1] == 2
end

@result << {


Loading…
Cancel
Save