Removing leading slash.

This commit is contained in:
mike12345567 2021-06-10 11:34:37 +01:00
parent 5086a4d0c9
commit 73e7398a41
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ exports.uploadFile = async function (ctx) {
return prepareUpload({ return prepareUpload({
file, file,
s3Key: `/${ctx.appId}/attachments/${processedFileName}`, s3Key: `${ctx.appId}/attachments/${processedFileName}`,
bucket: ObjectStoreBuckets.APPS, bucket: ObjectStoreBuckets.APPS,
}) })
}) })