Merge branch 'master' into issue_546_list_repository_topics

This commit is contained in:
Martin van Zijl
2019-11-01 13:35:57 +13:00
committed by GitHub
38 changed files with 1956 additions and 60 deletions

View File

@@ -129,7 +129,7 @@ public class GHRepository extends GHObject {
* Obtains a single {@link GHDeployment} by its ID.
*/
public GHDeployment getDeployment(long id) throws IOException {
return root.retrieve().to("deployments/" + id, GHDeployment.class).wrap(this);
return root.retrieve().to(getApiTailUrl("deployments/" + id), GHDeployment.class).wrap(this);
}
private String join(List<String> params, String joinStr) {