Archived
1
0

Use new auto value for RootDirectory

This commit is contained in:
Arnaud Ysmal 2014-12-06 16:22:12 +01:00
parent c30fa0c6e4
commit 9c5d0890e3

View File

@ -200,7 +200,7 @@ func (db *Dropbox) WriteToken(t *oauth2.Token) {
// NewDropbox returns a new Dropbox configured.
func NewDropbox() *Dropbox {
db := &Dropbox{
RootDirectory: "dropbox", // dropbox or sandbox.
RootDirectory: "auto", // auto (recommended), dropbox or sandbox.
Locale: "en",
APIURL: "https://api.dropbox.com/1",
APIContentURL: "https://api-content.dropbox.com/1",