Skip to content

Commit

Permalink
Update prepareAssetUpload.js - logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cami-espinozaq authored Nov 23, 2023
1 parent 33b006d commit aaa86bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/prepareAssetUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const s3 = initS3(customEndpoint)
export const handler = async (event) => {
const { filename } = JSON.parse(event.body)

console.log("filename for handler", filename)

if (!filename) {
return respond.error(400, "Missing request body key 'filename'.")
}
Expand Down

0 comments on commit aaa86bf

Please sign in to comment.