aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-alm-client/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-alm-client/src/main')
-rw-r--r--server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubBinding.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubBinding.java b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubBinding.java
index ce6e207bf70..fc2c2a77f71 100644
--- a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubBinding.java
+++ b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubBinding.java
@@ -138,8 +138,8 @@ public class GithubBinding {
String fullName;
@SerializedName("private")
boolean isPrivate;
- @SerializedName("url")
- String url;
+ @SerializedName("html_url")
+ String htmlUrl;
@SerializedName("default_branch")
String defaultBranch;
@@ -151,7 +151,7 @@ public class GithubBinding {
public Repository toRepository() {
return new Repository(this.id, this.name, this.isPrivate, this.fullName,
- this.url, this.defaultBranch);
+ this.htmlUrl, this.defaultBranch);
}
}
}