correctly fetch remote data

This commit is contained in:
fyears 2021-11-08 09:38:39 +08:00
parent 5352c7b828
commit 7ec2db4006

View File

@ -98,7 +98,7 @@ export const uploadToRemote = async (
ContentType: contentType, ContentType: contentType,
}) })
); );
return await getRemoteMeta(s3Client, s3Config, fileOrFolderPath); return await getRemoteMeta(s3Client, s3Config, uploadFile);
} else { } else {
// file // file
// we ignore isRecursively parameter here // we ignore isRecursively parameter here