From 7a6e6e8333c1f81d3dab1206856eab74081c2340 Mon Sep 17 00:00:00 2001 From: Mihajlo Medjedovic Date: Thu, 28 Jan 2021 11:25:21 +0100 Subject: [PATCH] chore: fix const --- src/SASViyaApiClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )