Explorar el Código

Fix Github Access Token retrieval

Mohammed Nafees hace 4 años
padre
commit
a2ddc33bbf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/server/authz/git_installation.go

+ 1 - 1
api/server/authz/git_installation.go

@@ -76,7 +76,7 @@ func (p *GitInstallationScopedMiddleware) doesUserHaveGitInstallationAccess(gith
 	}
 
 	if _, _, err = oauth.GetAccessToken(oauthInt.SharedOAuthModel,
-		p.config.GithubConf,
+		&p.config.GithubAppConf.Config,
 		oauth.MakeUpdateGithubAppOauthIntegrationFunction(oauthInt, p.config.Repo)); err != nil {
 		return err
 	}