From 15915c977995f0a943ff417aa4fff7ccca1df605 Mon Sep 17 00:00:00 2001 From: xiaoxiaoqiong Date: Fri, 8 Jul 2022 11:43:23 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E4=BB=A3=E7=A0=81=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E5=88=86=E6=9E=90api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/sonar_tasks_controller.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/sonar_tasks_controller.rb b/app/controllers/sonar_tasks_controller.rb index 51241fe82..07cf204d8 100644 --- a/app/controllers/sonar_tasks_controller.rb +++ b/app/controllers/sonar_tasks_controller.rb @@ -4,10 +4,6 @@ class SonarTasksController < ApplicationController before_action :authenticate_user! def index - t.integer :codeLines, default: 0 - t.integer :bugs, default: 0 - t.integer :codeSmell, default: 0 - t.integer :vulnerability, default: 0 @sonar_task = SonarTask.find_by(project_id: @project.id) normal_status(-1, "未检测") if @sonar_task.blank? end