Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.

Commit 4e2bce0

Browse files
committed
rename status link to statuses in pull req API
1 parent 53a7817 commit 4e2bce0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/resources.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def text_html(response, status, head = {})
356356
"diff_url" => "https://github.com/octocat/Hello-World/pulls/1.diff",
357357
"patch_url" => "https://github.com/octocat/Hello-World/pulls/1.patch",
358358
"issue_url" => "https://github.com/octocat/Hello-World/issue/1",
359-
"status_url" => "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
359+
"statuses_url" => "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
360360
"number" => 1,
361361
"state" => "open",
362362
"title" => "new-feature",
@@ -388,7 +388,7 @@ def text_html(response, status, head = {})
388388
"https://api.github.com/repos/octocat/Hello-World/issues/1/comments"},
389389
"review_comments" => {'href' =>
390390
"https://api.github.com/repos/octocat/Hello-World/pulls/1/comments"},
391-
"status" => {'href' =>
391+
"statuses" => {'href' =>
392392
"https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"}
393393
},
394394
"user" => USER

0 commit comments

Comments
 (0)