Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pan261 committed Feb 16, 2022
1 parent c842ad5 commit c5f2325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forge-download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const getStorageLocation = (
itemID: string,
credentials: ForgeSDK.AuthToken
): Promise<string> => {
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;
Expand Down

0 comments on commit c5f2325

Please sign in to comment.