You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/dropbox-base.js
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,8 @@ if (!Array.prototype.includes) {
106
106
* to act as.
107
107
* @arg {String} [options.selectAdmin] - Team admin that the team access token would like
108
108
* to act as.
109
+
* @arg {String} [options.pathRoot] - root pass to access other namespaces
110
+
* Use to access team folders for example
109
111
*/
110
112
111
113
functionparseBodyToType(res){
@@ -126,6 +128,7 @@ export class DropboxBase {
126
128
this.selectUser=options.selectUser;
127
129
this.selectAdmin=options.selectAdmin;
128
130
this.fetch=options.fetch||fetch;
131
+
this.pathRoot=options.pathRoot;
129
132
if(!options.fetch){console.warn('Global fetch is deprecated and will be unsupported in a future version. Please pass fetch function as option when instantiating dropbox instance: new Dropbox({fetch})');}// eslint-disable-line no-console
0 commit comments