Fixed conversion enabled logic.

This commit is contained in:
Patrick Fic
2020-01-16 10:41:42 -08:00
parent 619cc31c68
commit 5e19d53b29
3 changed files with 13 additions and 3 deletions

View File

@@ -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)