diff --git a/src/SASViyaApiClient.ts b/src/SASViyaApiClient.ts index 25872ef..17dbec8 100644 --- a/src/SASViyaApiClient.ts +++ b/src/SASViyaApiClient.ts @@ -1329,7 +1329,7 @@ export class SASViyaApiClient { ) { // If target path is existing folder, than keep source folder name, othervise rename it with given target folder name const sourceFolderName = sourceFolder.split('/').pop() as string - let targetFolderDetails = await this.getFolderDetails( + const targetFolderDetails = await this.getFolderDetails( targetParentFolder, accessToken )