From dee3d1c43818d2a0cbd05d12fae750296260a65e Mon Sep 17 00:00:00 2001 From: yystopf Date: Thu, 23 Jan 2025 16:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E5=A4=B1=E8=B4=A5=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/v1/projects/actions/actions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/projects/actions/actions_controller.rb b/app/controllers/api/v1/projects/actions/actions_controller.rb index 1885273b1..7186067c2 100644 --- a/app/controllers/api/v1/projects/actions/actions_controller.rb +++ b/app/controllers/api/v1/projects/actions/actions_controller.rb @@ -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 << {