From 7ec2db4006c4600dfca902b82f2870ec1666fbc4 Mon Sep 17 00:00:00 2001 From: fyears Date: Mon, 8 Nov 2021 09:38:39 +0800 Subject: [PATCH] correctly fetch remote data --- src/s3.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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