Skip to content

Commit be54918

Browse files
committed
[github] change GitHub API commit request to ref "master" instead of "HEAD"
1 parent 90c1c16 commit be54918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ impl<'a> ToUrl for SingleCommitUrl<'a> {
117117
// HEAD commit as the end commit in this case
118118
if self.sha == "origin/master" {
119119
format!(
120-
"https://api.github.com/repos/{OWNER}/{REPO}/commits/HEAD",
120+
"https://api.github.com/repos/{OWNER}/{REPO}/commits/master",
121121
OWNER = OWNER,
122122
REPO = REPO,
123123
)

0 commit comments

Comments
 (0)