Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
friism committed Jun 20, 2013
1 parent e1a38af commit 28689a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web.go
Expand Up @@ -45,7 +45,7 @@ func handleAuth(w http.ResponseWriter, r *http.Request) {

func handleAuthCallback(w http.ResponseWriter, r *http.Request) {
code := r.FormValue("code")
transport := &oauth.Transport{oauth.Config: oauthConfig}
transport := &oauth.Transport{Config: oauthConfig}
token, err := transport.Exchange(code)
if err != nil {
panic(err)
Expand Down

0 comments on commit 28689a2

Please sign in to comment.