Removing leading slash.
This commit is contained in:
parent
5086a4d0c9
commit
73e7398a41
|
@ -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,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue