refactor to single bucket

This commit is contained in:
Emily 2018-08-09 14:49:52 -07:00
parent 452ccd068b
commit b89bef6e89
7 changed files with 68 additions and 69 deletions

View file

@ -2,8 +2,8 @@ const AWS = require('aws-sdk');
const s3 = new AWS.S3();
class S3Storage {
constructor(config, index, log) {
this.bucket = config.s3_buckets[index];
constructor(config, log) {
this.bucket = config.s3_bucket;
this.log = log;
}