We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 130c628 commit 7265c7eCopy full SHA for 7265c7e
domain/src/main/java/com/stop/domain/usecase/route/GetLastTransportTimeUseCaseImpl.kt
@@ -121,7 +121,7 @@ internal class GetLastTransportTimeUseCaseImpl @Inject constructor(
121
val busName = transportIdRequest.lineName.split(":")[1]
122
val line =
123
routeRepository.getSeoulBusLine(transportIdRequest.stationId).lineIdMsgBody.busLines.firstOrNull {
124
- it.busLineName == busName
+ it.busLineName.contains(busName)
125
} ?: throw NoAppropriateDataException(NO_BUS_LINE_ID)
126
127
return transportIdRequest.changeLineId(line.lineId, line.term)
0 commit comments