diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-01-09 11:01:22 +0100 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-01-09 20:16:51 +0100 |
commit | 1904c96a996c1cba54e2fe7540447fcb031e00d3 (patch) | |
tree | caaba56bb7e80486ffdd19f180997896b232359b /server/sonar-web/src/main/js/api | |
parent | 4ce8eea9aef0854d57e6a0644b363cbed524b5bd (diff) | |
download | sonarqube-1904c96a996c1cba54e2fe7540447fcb031e00d3.tar.gz sonarqube-1904c96a996c1cba54e2fe7540447fcb031e00d3.zip |
SONAR-10073 Impossible to set QP of a project from an organization that is not default
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r-- | server/sonar-web/src/main/js/api/quality-profiles.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/quality-profiles.ts b/server/sonar-web/src/main/js/api/quality-profiles.ts index 9daa0c5051a..5e2715d7b81 100644 --- a/server/sonar-web/src/main/js/api/quality-profiles.ts +++ b/server/sonar-web/src/main/js/api/quality-profiles.ts @@ -97,7 +97,7 @@ export interface SearchQualityProfilesResponse { export function searchQualityProfiles( parameters: SearchQualityProfilesParameters ): Promise<SearchQualityProfilesResponse> { - return getJSON('/api/qualityprofiles/search', parameters); + return getJSON('/api/qualityprofiles/search', parameters).catch(throwGlobalError); } export function getQualityProfile(data: { |