1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-24 08:52:25 +02:00

oauthproxy: rename Uri to URI

Be consistent with Go coding style for acroynyms.
This commit is contained in:
Brandon Philips 2015-11-09 00:50:42 +01:00
parent 51a2e4e48c
commit 1ff2fce25b

View File

@ -197,8 +197,8 @@ func (p *OauthProxy) redeemCode(host, code string) (s *providers.SessionState, e
if code == "" {
return nil, errors.New("missing code")
}
redirectUri := p.GetRedirectURI(host)
s, err = p.provider.Redeem(redirectUri, code)
redirectURI := p.GetRedirectURI(host)
s, err = p.provider.Redeem(redirectURI, code)
if err != nil {
return
}