refactor to single bucket
This commit is contained in:
parent
452ccd068b
commit
b89bef6e89
7 changed files with 68 additions and 69 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue