Update github.go

This commit is contained in:
Brad Rydzewski 2014-09-09 12:08:48 -07:00
parent 0987a9ad59
commit 7b62f3ff85

View file

@ -95,7 +95,7 @@ func send(rawurl, host, owner, repo, status, desc, target, ref, token string) er
// the base url. Per the documentation, we need to
// ensure there is a trailing slash.
if host != model.RemoteGithub {
client.BaseURL, _ = getEndpoint(rawurl)
client.BaseURL, _ = getEndpoint(rawurl)+"/"
}
_, _, err := client.Repositories.CreateStatus(owner, repo, ref, &data)