We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d69c244 commit 8a501acCopy full SHA for 8a501ac
src/modules/layer/index.js
@@ -1,5 +1,4 @@
1
const { Capi } = require('@tencent-sdk/capi');
2
-const Cos = require('../cos');
3
const apis = require('./apis');
4
5
class Layer {
@@ -12,7 +11,6 @@ class Layer {
12
11
SecretKey: credentials.SecretKey,
13
Token: credentials.Token,
14
});
15
- this.cosClient = new Cos(credentials, region);
16
}
17
async checkExist(name) {
18
const res = await apis.getLayerDetail(this.capi, name);
0 commit comments