mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-16 15:48:29 +00:00
Fixing Github API for GHE
This commit is contained in:
@@ -63,7 +63,7 @@ func NewDriver(config string) (remote.Remote, error) {
|
||||
if github.URL == DefaultURL {
|
||||
github.API = DefaultAPI
|
||||
} else {
|
||||
github.API = github.URL + "/v3/api/"
|
||||
github.API = github.URL + "/api/v3/"
|
||||
}
|
||||
|
||||
// here we cache permissions to avoid too many api
|
||||
|
Reference in New Issue
Block a user