diff --git a/src/s3.ts b/src/s3.ts index f793936..488f6d3 100644 --- a/src/s3.ts +++ b/src/s3.ts @@ -98,7 +98,7 @@ export const uploadToRemote = async ( ContentType: contentType, }) ); - return await getRemoteMeta(s3Client, s3Config, fileOrFolderPath); + return await getRemoteMeta(s3Client, s3Config, uploadFile); } else { // file // we ignore isRecursively parameter here