Skip to content

Commit

Permalink
modify options
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Jul 11, 2017
1 parent ccf11de commit 2819843
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/cos-js-sdk-v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -17039,8 +17039,8 @@ function submitRequest(params, callback) {
var auth = util.getAuth({
method: opt.method,
pathname: object || '/',
SecretId: params.SecretId || this.SecretId,
SecretKey: params.SecretKey || this.SecretKey,
SecretId: params.SecretId || this.options.SecretId,
SecretKey: params.SecretKey || this.options.SecretKey,
});
getAuthorizationCallback(auth);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/cos-js-sdk-v5.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -1783,8 +1783,8 @@ function submitRequest(params, callback) {
var auth = util.getAuth({
method: opt.method,
pathname: object || '/',
SecretId: params.SecretId || this.SecretId,
SecretKey: params.SecretKey || this.SecretKey,
SecretId: params.SecretId || this.options.SecretId,
SecretKey: params.SecretKey || this.options.SecretKey,
});
getAuthorizationCallback(auth);
}
Expand Down

0 comments on commit 2819843

Please sign in to comment.