We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c2577 commit 66238b3Copy full SHA for 66238b3
src/contents.ts
@@ -20,7 +20,8 @@ import {
20
renameObjects,
21
copyObjects,
22
presignedLink,
23
- createDrive
+ createDrive,
24
+ getDrivesList
25
} from './requests';
26
27
let data: Contents.IModel = {
@@ -246,6 +247,8 @@ export class Drive implements Contents.IDrive {
246
247
// retriving list of contents from root
248
// in our case: list available drives
249
const drivesList: Contents.IModel[] = [];
250
+ // fetch list of available drives
251
+ this._drivesList = await getDrivesList();
252
for (const drive of this._drivesList) {
253
drivesList.push({
254
name: drive.name,
0 commit comments