mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 23:48:20 +00:00
Revert "feat: filter out atlantis/apply from mergeability clause (#18… (#1968)
* Revert "feat: filter out atlantis/apply from mergeability clause (#1856)"
This reverts commit d01796b9d9.
* Add missing import.
This commit is contained in:
@@ -18,7 +18,6 @@ type GithubAppController struct {
|
||||
GithubSetupComplete bool
|
||||
GithubHostname string
|
||||
GithubOrg string
|
||||
GithubStatusName string
|
||||
}
|
||||
|
||||
type githubWebhook struct {
|
||||
@@ -56,7 +55,7 @@ func (g *GithubAppController) ExchangeCode(w http.ResponseWriter, r *http.Reques
|
||||
|
||||
g.Logger.Debug("Exchanging GitHub app code for app credentials")
|
||||
creds := &vcs.GithubAnonymousCredentials{}
|
||||
client, err := vcs.NewGithubClient(g.GithubHostname, creds, g.Logger, g.GithubStatusName)
|
||||
client, err := vcs.NewGithubClient(g.GithubHostname, creds, g.Logger)
|
||||
if err != nil {
|
||||
g.respond(w, logging.Error, http.StatusInternalServerError, "Failed to exchange code for github app: %s", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user