Skip to content

Commit

Permalink
kr.hanjin: Add status
Browse files Browse the repository at this point in the history
"항공편 도착" -> InTransit
  • Loading branch information
shlee322 committed Dec 4, 2023
1 parent 2591a66 commit e0db7f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/src/carriers/kr.hanjin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@ class HanjinTrackScraper {
};
}

if (description?.includes("항공편이 도착")) {
return {
code: TrackEventStatusCode.InTransit,
name: "항공편 도착",
carrierSpecificData: new Map(),
};
}

if (description?.includes("상품 출고 대기")) {
return {
code: TrackEventStatusCode.InTransit,
Expand Down

0 comments on commit e0db7f6

Please sign in to comment.