Skip to content

Commit 3324941

Browse files
committed
修改版本号
1 parent 8f0af7d commit 3324941

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cos-nodejs-sdk-v5",
3-
"version": "2.3.2",
3+
"version": "2.3.3",
44
"description": "cos nodejs sdk v5",
55
"main": "index.js",
66
"scripts": {

sdk/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ var apiWrapper = function (apiName, apiFn) {
300300
return;
301301
}
302302
// 判断 region 格式
303-
if (params.Region && params.Region.indexOf('-') === -1 && params.Region === 'yfb') {
303+
if (params.Region && params.Region.indexOf('-') === -1 && params.Region !== 'yfb') {
304304
_callback({error: 'Region format error, find help here: https://cloud.tencent.com/document/product/436/6224'});
305305
return;
306306
}

0 commit comments

Comments
 (0)