Skip to content

Commit

Permalink
Add case to API error correction function
Browse files Browse the repository at this point in the history
  • Loading branch information
devITae committed Oct 8, 2023
1 parent e5bb6a3 commit 2cdc959
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/components/Realtime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ const isExistAPIError = (

return (
bstatnNm.includes('막차') &&
(arvlMsg2.includes(station.trim() + ' 도착') ||
(arvlMsg2.includes('전역 도착') ||
arvlMsg2.includes(station.trim() + ' 도착') ||
arvlMsg2.includes(station.trim() + ' 진입')) &&
diffMSec >= 90
)
Expand Down

0 comments on commit 2cdc959

Please sign in to comment.