1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

Fixed another github client instance in code

This commit is contained in:
Vsevolod Strukchinsky 2014-02-10 12:40:18 +06:00
parent b113b2ac33
commit 407faca612

View File

@ -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