Removing leading slash.
This commit is contained in:
parent
016c567fc9
commit
9f53d08598
|
@ -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