Skip to content

Commit 8a501ac

Browse files
committed
fix(layer): remove unuse code
1 parent d69c244 commit 8a501ac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/modules/layer/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const { Capi } = require('@tencent-sdk/capi');
2-
const Cos = require('../cos');
32
const apis = require('./apis');
43

54
class Layer {
@@ -12,7 +11,6 @@ class Layer {
1211
SecretKey: credentials.SecretKey,
1312
Token: credentials.Token,
1413
});
15-
this.cosClient = new Cos(credentials, region);
1614
}
1715
async checkExist(name) {
1816
const res = await apis.getLayerDetail(this.capi, name);

0 commit comments

Comments
 (0)