|
|
|
@@ -1,5 +1,5 @@ |
|
|
|
class Api::V1::SonarqubesController < Api::V1::BaseController |
|
|
|
#before_action :load_repository |
|
|
|
before_action :load_repository |
|
|
|
def sonar_initialize |
|
|
|
gitea_params = { has_actions: params[:has_actions] == 'true' ? true :false } |
|
|
|
gitea_setting = Gitea::Repository::UpdateService.call(@owner, @project.identifier, gitea_params) |
|
|
|
@@ -116,5 +116,5 @@ class Api::V1::SonarqubesController < Api::V1::BaseController |
|
|
|
} |
|
|
|
data = Sonarqube.client.get('/api/measures/component', query: params_data) |
|
|
|
render_ok data |
|
|
|
end |
|
|
|
end |
|
|
|
end |