Use new auto value for RootDirectory
This commit is contained in:
parent
c30fa0c6e4
commit
9c5d0890e3
|
@ -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",
|
||||
|
|
Reference in New Issue
Block a user