Skip to content

Commit

Permalink
fix: set baseURL in github_app client (argoproj#11613)
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>

Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Signed-off-by: emirot <emirot.nolan@gmail.com>
  • Loading branch information
fty4 authored and emirot committed Jan 27, 2023
1 parent 07d1d62 commit f903821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applicationset/services/internal/github_app/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ func Client(g github_app_auth.Authentication, url string) (*github.Client, error
if url == "" {
url = g.EnterpriseBaseURL
}
rt.BaseURL = url
var client *github.Client
httpClient := http.Client{Transport: rt}
if url == "" {
Expand Down

0 comments on commit f903821

Please sign in to comment.