1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00

Merge pull request #1132 from donny-dont/features/add-caching

Fix GHE API path
This commit is contained in:
Brad Rydzewski 2015-08-11 16:05:19 -07:00
commit aae71b8207

View File

@ -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