aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-03-09 18:07:22 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-03-21 13:05:50 +0100
commit2e2774ccf5edaf8b82f938a535415159ba82d882 (patch)
tree84406ff3da446849a198ad7bb29de99fd1f7e931 /sonar-ws
parent8860271840f039fd533a9f94ac7ac011623a37e1 (diff)
downloadsonarqube-2e2774ccf5edaf8b82f938a535415159ba82d882.tar.gz
sonarqube-2e2774ccf5edaf8b82f938a535415159ba82d882.zip
Rename WS parameter key to organization in WS api/organizations/delete
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java
index 09fa027efb6..408909067cf 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/organization/OrganizationService.java
@@ -68,7 +68,7 @@ public class OrganizationService extends BaseService {
public void delete(@Nullable String key) {
PostRequest post = new PostRequest(path("delete"))
- .setParam("key", key);
+ .setParam("organization", key);
call(post).failIfNotSuccessful();
}