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.
|
// NewDropbox returns a new Dropbox configured.
|
||||||
func NewDropbox() *Dropbox {
|
func NewDropbox() *Dropbox {
|
||||||
db := &Dropbox{
|
db := &Dropbox{
|
||||||
RootDirectory: "dropbox", // dropbox or sandbox.
|
RootDirectory: "auto", // auto (recommended), dropbox or sandbox.
|
||||||
Locale: "en",
|
Locale: "en",
|
||||||
APIURL: "https://api.dropbox.com/1",
|
APIURL: "https://api.dropbox.com/1",
|
||||||
APIContentURL: "https://api-content.dropbox.com/1",
|
APIContentURL: "https://api-content.dropbox.com/1",
|
||||||
|
|
Reference in New Issue
Block a user