mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 22:58:23 +00:00
Add missing CleanedBasePath to GithubSetupData created by GithubAppController (#2142)
This commit is contained in:
@@ -70,12 +70,13 @@ func (g *GithubAppController) ExchangeCode(w http.ResponseWriter, r *http.Reques
|
||||
g.Logger.Debug("Found credentials for GitHub app %q with id %d", app.Name, app.ID)
|
||||
|
||||
err = templates.GithubAppSetupTemplate.Execute(w, templates.GithubSetupData{
|
||||
Target: "",
|
||||
Manifest: "",
|
||||
ID: app.ID,
|
||||
Key: app.Key,
|
||||
WebhookSecret: app.WebhookSecret,
|
||||
URL: app.URL,
|
||||
Target: "",
|
||||
Manifest: "",
|
||||
ID: app.ID,
|
||||
Key: app.Key,
|
||||
WebhookSecret: app.WebhookSecret,
|
||||
URL: app.URL,
|
||||
CleanedBasePath: g.AtlantisURL.Path,
|
||||
})
|
||||
if err != nil {
|
||||
g.Logger.Err(err.Error())
|
||||
|
||||
Reference in New Issue
Block a user