We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4a4f07 commit cac116aCopy full SHA for cac116a
packages/core/src/carriers/kr.epost.ems/index.ts
@@ -81,7 +81,7 @@ class KoreaPostEMSTrackScraper {
81
const status = tds[1].textContent?.replace(/\s+/g, " ")?.trim() ?? null;
82
const location = tds[2].textContent?.replace(/\s+/g, " ")?.trim() ?? null;
83
let description = tds[3].textContent?.replace(/\s+/g, " ")?.trim() ?? null;
84
- if (description === "") {
+ if (description === "" || description === null) {
85
description = `${status ?? ""} - ${location ?? ""}`;
86
}
87
0 commit comments