mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 04:40:11 +00:00
Fixed another github client instance in code
This commit is contained in:
@@ -225,6 +225,7 @@ func updateGitHubStatus(repo *Repo, commit *Commit) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
client := github.New(user.GithubToken)
|
client := github.New(user.GithubToken)
|
||||||
|
client.ApiUrl = settings.GitHubApiUrl;
|
||||||
|
|
||||||
var url string
|
var url string
|
||||||
url = settings.URL().String() + "/" + repo.Slug + "/commit/" + commit.Hash
|
url = settings.URL().String() + "/" + repo.Slug + "/commit/" + commit.Hash
|
||||||
|
Reference in New Issue
Block a user