mirror of
https://github.com/certd/certd.git
synced 2026-07-16 02:37:34 +08:00
fix: 修复上传到cos报runtimeDepsService未初始化的问题
This commit is contained in:
@@ -19,10 +19,12 @@ export class VolcengineDnsClient {
|
||||
constructor(opts: VolcengineOpts) {
|
||||
this.opts = opts;
|
||||
}
|
||||
async importRuntime(packageName: string) {
|
||||
return this.opts.access.importRuntime(packageName);
|
||||
}
|
||||
|
||||
async doRequest(req: VolcengineReq) {
|
||||
const importRuntime = this.opts.importRuntime || this.opts.access.importRuntime.bind(this.opts.access);
|
||||
const { Signer } = await importRuntime("@volcengine/openapi");
|
||||
const { Signer } = await this.importRuntime("@volcengine/openapi");
|
||||
|
||||
// http request data
|
||||
const openApiRequestData: any = {
|
||||
|
||||
Reference in New Issue
Block a user