mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
Update github.go
This commit is contained in:
parent
0987a9ad59
commit
7b62f3ff85
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue