Updating the Dropbox upload API version.
Switching to Sandbax mode.
This commit is contained in:
parent
1fed9cd0ea
commit
020335b989
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ class FileSystemDropboxBase
|
|||
'token' => Utility::decrypt(getConfig()->get('credentials')->dropboxToken),
|
||||
'token_secret' => Utility::decrypt(getConfig()->get('credentials')->dropboxTokenSecret)
|
||||
));
|
||||
$this->dropbox = new Dropbox_API($oauth);
|
||||
$this->dropbox = new Dropbox_API($oauth, Dropbox_API::ROOT_SANDBOX);
|
||||
$this->dropboxFolder = getConfig()->get('dropbox')->dropboxFolder;
|
||||
$this->parent = $parent;
|
||||
}
|
||||
|
|
2
src/libraries/external/Dropbox/API.php
vendored
2
src/libraries/external/Dropbox/API.php
vendored
|
@ -28,7 +28,7 @@ class Dropbox_API {
|
|||
/**
|
||||
* Content API URl
|
||||
*/
|
||||
protected $api_content_url = 'api-content.dropbox.com/0/';
|
||||
protected $api_content_url = 'api-content.dropbox.com/1/';
|
||||
|
||||
/**
|
||||
* OAuth object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue