We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39e53c9 commit 324d7f6Copy full SHA for 324d7f6
src/sdk/namespace_gcp.js
@@ -11,7 +11,7 @@ const s3_utils = require('../endpoint/s3/s3_utils');
11
const S3Error = require('../endpoint/s3/s3_errors').S3Error;
12
// we use this wrapper to set a custom user agent
13
const GoogleCloudStorage = require('../util/google_storage_wrap');
14
-const aws_sdk = require('aws-sdk');
+const AWS = require('aws-sdk');
15
16
/**
17
* @implements {nb.Namespace}
@@ -53,7 +53,7 @@ class NamespaceGCP {
53
this.hmac_key = res[0];
54
this.hmac_secret = res[1];
55
});
56
- this.s3_client = new aws_sdk.S3({
+ this.s3_client = new AWS.S3({
57
endpoint: 'https://storage.googleapis.com',
58
accessKeyId: this.hmac_key,
59
secretAccessKey: this.hmac_secret
0 commit comments