Merge pull request '新增参数获取' (#7) from sonar_pm into docker_file

This commit is contained in:
KingChan 2024-06-11 16:40:28 +08:00
commit 33ddd9c88f
1 changed files with 4 additions and 1 deletions

View File

@ -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