File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1927,7 +1927,7 @@ function getAuthorizationAsync(params, callback) {
19271927 if ( self . options . getAuthorization ) { // 外部计算签名
19281928 self . options . getAuthorization . call ( self , {
19291929 Method : params . Method ,
1930- Key : params . Key ,
1930+ Key : params . Key || '' ,
19311931 Query : params . Query ,
19321932 Headers : params . Headers ,
19331933 } , function ( AuthData ) {
@@ -1945,7 +1945,7 @@ function getAuthorizationAsync(params, callback) {
19451945 SecretId : StsData . SecretId ,
19461946 SecretKey : StsData . SecretKey ,
19471947 Method : params . Method ,
1948- Key : params . Key ,
1948+ Key : params . Key || '' ,
19491949 Query : params . Query ,
19501950 Headers : params . Headers ,
19511951 } ) ;
@@ -1973,7 +1973,7 @@ function getAuthorizationAsync(params, callback) {
19731973 SecretId : params . SecretId || self . options . SecretId ,
19741974 SecretKey : params . SecretKey || self . options . SecretKey ,
19751975 Method : params . Method ,
1976- Key : params . Key ,
1976+ Key : params . Key || '' ,
19771977 Query : params . Query ,
19781978 Headers : params . Headers ,
19791979 } ) ;
You can’t perform that action at this time.
0 commit comments