aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-01-09 11:01:22 +0100
committerStas Vilchik <stas.vilchik@sonarsource.com>2018-01-09 20:16:51 +0100
commit1904c96a996c1cba54e2fe7540447fcb031e00d3 (patch)
treecaaba56bb7e80486ffdd19f180997896b232359b /server/sonar-web/src/main/js/api
parent4ce8eea9aef0854d57e6a0644b363cbed524b5bd (diff)
downloadsonarqube-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.ts2
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: {