From 5f385d7ae1faddc9a099d1aaf3de8a82ea18ea6b Mon Sep 17 00:00:00 2001 From: Ramon Candel Date: Tue, 1 Oct 2024 17:43:46 +0200 Subject: [PATCH] Updated getFolderAncestors jsdoc --- src/drive/storage/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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());