diff --git a/src/drive/storage/index.ts b/src/drive/storage/index.ts index 8081551..9865b62 100644 --- a/src/drive/storage/index.ts +++ b/src/drive/storage/index.ts @@ -603,8 +603,9 @@ export class Storage { /** * Gets the ancestors of a given folder UUID * - * @param {string} folderUUID - UUID of the folder. - * @returns {Promise} + * @param {string} uuid - UUID of the folder. + * @param {boolean} [isShared=false] - Whether the folder is a shared item or not. + * @returns {Promise} A promise that resolves with an array of ancestors of the given folder. */ public getFolderAncestors(uuid: string, isShared = false): Promise { return this.client.get(`folders/${uuid}/ancestors?isSharedItem=${isShared}`, this.headers());