diff --git a/src/backend/prepareAssetUpload.js b/src/backend/prepareAssetUpload.js index 8de0f7dd1..b43b66aa0 100644 --- a/src/backend/prepareAssetUpload.js +++ b/src/backend/prepareAssetUpload.js @@ -19,6 +19,8 @@ export const handler = async (event) => { Key: `data/assets/${filename}`, } + console.log("params", params) + try { await s3.headObject(params).promise() return respond.error(409, 'Asset already exists.', { exists: true })