Fixed conversion enabled logic.
This commit is contained in:
@@ -11,7 +11,7 @@ const S3_BUCKET = process.env.bucket;
|
||||
// Now lets export this function so we can call it from somewhere else
|
||||
|
||||
exports.sign_s3 = (req, res) => {
|
||||
console.log("Hitting bucket: " + S3_BUCKET);
|
||||
console.log("Get S3 Signed Put for bucket: " + S3_BUCKET);
|
||||
const s3 = new aws.S3(); // Create a new instance of S3
|
||||
// if (!req.body.fileName || req.body.fileType) {
|
||||
// console.log('req.body.fileName', req.body.fileName)
|
||||
|
||||
Reference in New Issue
Block a user