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:
parent
51a2e4e48c
commit
1ff2fce25b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user