From c5f232570c6f92ef5b4e9de14db1cba33197f48c Mon Sep 17 00:00:00 2001 From: pan261 Date: Wed, 16 Feb 2022 15:17:28 -0500 Subject: [PATCH] bug fix --- src/forge-download.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge-download.ts b/src/forge-download.ts index 8ee4782..7d9cf22 100644 --- a/src/forge-download.ts +++ b/src/forge-download.ts @@ -48,7 +48,7 @@ const getStorageLocation = ( itemID: string, credentials: ForgeSDK.AuthToken ): Promise => { - return ItemsApi.getItem(projectID, itemID + '1', config.authClient, credentials) + return ItemsApi.getItem(projectID, itemID, config.authClient, credentials) .then((res: ForgeSDK.ApiResponse) => { let data = res.body.included[0]; let storageID = data.relationships.storage.data.id;