Skip to content

Commit

Permalink
[Bug] Fixed invalid default hostname for gh auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfloyd authored Sep 21, 2023
2 parents 8540ea4 + 8cc5b8e commit ed19ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func tokenFromGhCli(baseURL string) (string, error) {
}
hostname := ""
if baseURL == "" {
hostname = "api.github.com"
hostname = "github.com"
} else {
parsedURL, err := url.Parse(baseURL)
if err != nil {
Expand Down

0 comments on commit ed19ae8

Please sign in to comment.