aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2024-02-01 15:05:36 +0100
committersonartech <sonartech@sonarsource.com>2024-02-01 20:02:48 +0000
commitd72acd5707f3ac1234f60a326dffbb197b1e103f (patch)
tree2f174c2e042d6756c7521344b615deb01365f98c /sonar-ws
parentea5cfd377b0b8d2d4c258841b02b1e12325d94ca (diff)
downloadsonarqube-d72acd5707f3ac1234f60a326dffbb197b1e103f.tar.gz
sonarqube-d72acd5707f3ac1234f60a326dffbb197b1e103f.zip
SONAR-21559 Fix failing QA
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java
index bdb60cf61a7..cbe98cb3c27 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/settings/SettingsService.java
@@ -64,7 +64,7 @@ public class SettingsService extends BaseService {
*/
public EncryptWsResponse encrypt(EncryptRequest request) {
return call(
- new GetRequest(path("encrypt"))
+ new PostRequest(path("encrypt"))
.setParam("value", request.getValue()),
EncryptWsResponse.parser());
}