diff options
Diffstat (limited to 'sonar-ws/src')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java index 6b874052273..9d3cf61c216 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualityprofile/QualityProfilesService.java @@ -74,7 +74,8 @@ public class QualityProfilesService extends BaseService { .setParam(PARAM_DEFAULTS, request.getDefaults()) .setParam(PARAM_LANGUAGE, request.getLanguage()) .setParam(PARAM_PROFILE_NAME, request.getProfileName()) - .setParam(PARAM_PROJECT_KEY, request.getProjectKey()), + .setParam(PARAM_PROJECT_KEY, request.getProjectKey()) + .setParam(PARAM_ORGANIZATION, request.getOrganizationKey()), SearchWsResponse.parser()); } |