Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Enterprise Support #23

Closed
wants to merge 8 commits into from
Prev Previous commit
Fixed another github client instance in code
  • Loading branch information
floatdrop committed Feb 14, 2014
commit 7e89478b8b0368d771e44337edc99ab3f527e5f2
1 change: 1 addition & 0 deletions pkg/queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down