Skip to content

Commit 827becd

Browse files
committed
Fixed bug whereby region was ignored.
1 parent 329d0d0 commit 827becd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ function S3Adapter() {
5656
let s3Options = {
5757
accessKeyId: options.accessKey,
5858
secretAccessKey: options.secretKey,
59-
params: { Bucket: this._bucket }
59+
params: { Bucket: this._bucket },
60+
region: this._region
6061
};
61-
AWS.config._region = this._region;
6262
this._s3Client = new AWS.S3(s3Options);
6363
this._hasBucket = false;
6464
}

0 commit comments

Comments
 (0)