Fixed another github client instance in code
This commit is contained in:
parent
b113b2ac33
commit
407faca612
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ func updateGitHubStatus(repo *Repo, commit *Commit) error {
|
|||
}
|
||||
|
||||
client := github.New(user.GithubToken)
|
||||
client.ApiUrl = settings.GitHubApiUrl;
|
||||
|
||||
var url string
|
||||
url = settings.URL().String() + "/" + repo.Slug + "/commit/" + commit.Hash
|
||||
|
|
Loading…
Reference in a new issue