Fixing un-updated config value name

This commit is contained in:
Jeff Avallone 2018-05-29 17:11:20 -04:00
parent 16e900e5df
commit 43160ca71e
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ const configFor = path => {
}; };
const bucketContents = s3.listObjectsV2({ const bucketContents = s3.listObjectsV2({
Bucket: config.bucket Bucket: config.s3Bucket
}).promise() }).promise()
.then(result => { .then(result => {
return result.Contents.map(item => item.Key); return result.Contents.map(item => item.Key);