Removing leading slash.
This commit is contained in:
parent
5086a4d0c9
commit
73e7398a41
|
@ -71,7 +71,7 @@ exports.uploadFile = async function (ctx) {
|
|||
|
||||
return prepareUpload({
|
||||
file,
|
||||
s3Key: `/${ctx.appId}/attachments/${processedFileName}`,
|
||||
s3Key: `${ctx.appId}/attachments/${processedFileName}`,
|
||||
bucket: ObjectStoreBuckets.APPS,
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue