From 1a53054e58ea3f978bf77c1f66465507e224e4b0 Mon Sep 17 00:00:00 2001 From: kingChan <281221230@qq.com> Date: Tue, 11 Jun 2024 16:37:29 +0800 Subject: [PATCH] add params --- app/controllers/api/v1/sonarqubes_controller.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/controllers/api/v1/sonarqubes_controller.rb b/app/controllers/api/v1/sonarqubes_controller.rb index f6bc80638..d924d011d 100644 --- a/app/controllers/api/v1/sonarqubes_controller.rb +++ b/app/controllers/api/v1/sonarqubes_controller.rb @@ -67,7 +67,10 @@ class Api::V1::SonarqubesController < Api::V1::BaseController p: params[:p], facets: params[:facets], additionalFields: params[:additionalFields], - timeZone: params[:timeZone] + timeZone: params[:timeZone], + types: params[:types], + impactSeverities: params[:impactSeverities], + tags: params[:tags] } data = Sonarqube.client.get('/api/issues/search', query: params_data) render_ok data