mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-06-05 08:58:50 +00:00
Merge remote-tracking branch 'upstream/0.4-database' into 0.4-database
This commit is contained in:
commit
25ae088504
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ func NewDriver(config string) (remote.Remote, error) {
|
||||||
if github.URL == DefaultURL {
|
if github.URL == DefaultURL {
|
||||||
github.API = DefaultAPI
|
github.API = DefaultAPI
|
||||||
} else {
|
} else {
|
||||||
github.API = github.URL + "/v3/api/"
|
github.API = github.URL + "/api/v3/"
|
||||||
}
|
}
|
||||||
|
|
||||||
// here we cache permissions to avoid too many api
|
// here we cache permissions to avoid too many api
|
||||||
|
|
Loading…
Reference in a new issue