Archived
1
0

Sync with golang/oauth2 (Fix #6)

This commit is contained in:
Arnaud Ysmal 2014-09-07 18:54:24 +02:00
parent 67aa2e3d8c
commit 348b447074

View File

@ -239,7 +239,7 @@ func (db *Dropbox) Auth() error {
var err error
fmt.Printf("Please visit:\n%s\nEnter the code: ",
db.config.AuthCodeURL(""))
db.config.AuthCodeURL("", "", ""))
fmt.Scanln(&code)
if t, err = db.config.NewTransportWithCode(code); err != nil {
return err