From 9e9aa1cd581e402bc034a2678a99bdd2742e56ed Mon Sep 17 00:00:00 2001 From: Aitor Iturri Date: Fri, 11 Mar 2016 22:08:40 +0100 Subject: [PATCH] Fixed REST call to get statuses --- src/main/scala/issues.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/issues.scala b/src/main/scala/issues.scala index f00892e..e6ac03f 100644 --- a/src/main/scala/issues.scala +++ b/src/main/scala/issues.scala @@ -266,7 +266,7 @@ trait RepoIssues { self: RepoRequests => protected [this] object Comments extends Client.Completion { def get(cid: Int) = - complete(apiHost / "repos" / user / repo / "issues" / id.toString / "comments" / cid.toString) + complete(apiHost / "repos" / user / repo / "issues" / "comments" / cid.toString) def create(body: String) = complete(apiHost.POST / "repos" / user / repo / "issues" / id.toString / "comments" << compact(render(("body" -> body))))