Skip to content

Commit

Permalink
🐛 Fix: fix type error caused by fast-xml-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuingsmile committed Sep 21, 2023
1 parent a379862 commit 0f100e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/manage/apis/aliyun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0f100e5

Please sign in to comment.