From 0f100e5ae6887be31a75176fdb5bf60e14631f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Thu, 21 Sep 2023 07:24:53 -0700 Subject: [PATCH] :bug: Fix: fix type error caused by fast-xml-parser --- src/main/manage/apis/aliyun.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/manage/apis/aliyun.ts b/src/main/manage/apis/aliyun.ts index 1d122eac..098033ce 100644 --- a/src/main/manage/apis/aliyun.ts +++ b/src/main/manage/apis/aliyun.ts @@ -163,7 +163,7 @@ class AliyunApi { if (res?.status === 200) { const parser = new XMLParser() - const result = parser.parse(res.data) + const result = parser.parse(res.data) as IStringKeyMap if (result.ListCnameResult?.Cname) { const cnames = Array.isArray(result.ListCnameResult.Cname)