]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaw
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 11 Feb 2014 07:38:54 +0000 (08:38 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 11 Feb 2014 07:46:08 +0000 (08:46 +0100)
sonar-ws-client/src/main/java/org/sonar/wsclient/issue/internal/DefaultIssueClient.java

index 248a38ab915fcbc0fa41e9ebeabe261d9c27e027..5afedc386625ee0c8e329023fc05843133d6324f 100644 (file)
@@ -66,7 +66,7 @@ public class DefaultIssueClient implements IssueClient {
   @Override
   public Issue assign(String issueKey, @Nullable String assignee) {
     Map<String, Object> params = EncodingUtils.toMap("issue", issueKey, "assignee", assignee);
-    String json = requestFactory.post("/api/issues/assign", params);
+    String json = requestFactory.post(ASSIGN_URL, params);
     return jsonToIssue(json);
   }