Skip to content

Commit ed19ae8

Browse files
authored
[Bug] Fixed invalid default hostname for gh auth token
2 parents 8540ea4 + 8cc5b8e commit ed19ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ func tokenFromGhCli(baseURL string) (string, error) {
398398
}
399399
hostname := ""
400400
if baseURL == "" {
401-
hostname = "api.github.com"
401+
hostname = "github.com"
402402
} else {
403403
parsedURL, err := url.Parse(baseURL)
404404
if err != nil {

0 commit comments

Comments
 (0)