This commit is contained in:
Matt Jibson
2014-10-04 02:15:35 -04:00
parent c03fd6cc9b
commit 311200b953

View File

@@ -150,7 +150,7 @@ func (c *Config) NewTransport() *Transport {
// NewTransportWithCode exchanges the OAuth 2.0 authorization code with // NewTransportWithCode exchanges the OAuth 2.0 authorization code with
// the provider to fetch a new access token (and refresh token). Once // the provider to fetch a new access token (and refresh token). Once
// it succesffully retrieves a new token, creates a new transport // it successfully retrieves a new token, creates a new transport
// authorized with it. // authorized with it.
func (c *Config) NewTransportWithCode(code string) (*Transport, error) { func (c *Config) NewTransportWithCode(code string) (*Transport, error) {
token, err := c.Exchange(code) token, err := c.Exchange(code)