Merge pull request #382 from gabriel-samfira/set-base-url
set base URL in ghinstallation transport
This commit is contained in:
commit
cc1470fe08
1 changed files with 1 additions and 0 deletions
|
|
@ -663,6 +663,7 @@ func (g GithubCredentials) GetHTTPClient(ctx context.Context) (*http.Client, err
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to create github app installation transport: %w", err)
|
||||
}
|
||||
itr.BaseURL = g.APIBaseURL
|
||||
|
||||
tc = &http.Client{Transport: itr}
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue