Remove a trailing slash from getWorkflowJob

This commit is contained in:
shuheiktgw
2021-05-27 14:20:16 +09:00
parent d0912009dd
commit c395b9d6b3

View File

@@ -3073,7 +3073,7 @@ public class GHRepository extends GHObject {
*/
public GHWorkflowJob getWorkflowJob(long id) throws IOException {
return root.createRequest()
.withUrlPath(getApiTailUrl("/actions/jobs/"), String.valueOf(id))
.withUrlPath(getApiTailUrl("/actions/jobs"), String.valueOf(id))
.fetch(GHWorkflowJob.class)
.wrapUp(this);
}