mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
chore:
This commit is contained in:
@@ -95,7 +95,8 @@ export class HauweiDeployCertToCDN extends AbstractTaskPlugin {
|
|||||||
const { client, cdn } = await this.getCdnClient();
|
const { client, cdn } = await this.getCdnClient();
|
||||||
|
|
||||||
const request = new cdn.ListDomainsRequest();
|
const request = new cdn.ListDomainsRequest();
|
||||||
request.pageNumber = 1000;
|
request.pageNumber = 1;
|
||||||
|
request.pageSize = 1000;
|
||||||
const result = await client.listDomains(request);
|
const result = await client.listDomains(request);
|
||||||
if (!result || !result.domains || result.domains.length === 0) {
|
if (!result || !result.domains || result.domains.length === 0) {
|
||||||
throw new Error('未找到CDN域名,您可以手动输入');
|
throw new Error('未找到CDN域名,您可以手动输入');
|
||||||
|
|||||||
Reference in New Issue
Block a user