mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
Merge pull request #1158 from shuheiktgw/fix_getWorkflowJob
Remove a trailing slash from getWorkflowJob
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "3e411914-13ab-4047-9b13-8394a37a3f62",
|
||||
"name": "repos_hub4j-test-org_ghworkflowruntest_actions_jobs__2270858630",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs//2270858630",
|
||||
"url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/jobs/2270858630",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
|
||||
Reference in New Issue
Block a user