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 39a54a1 commit f4cfe41Copy full SHA for f4cfe41
data/src/main/java/com/stop/data/repository/RouteRepositoryImpl.kt
@@ -53,7 +53,7 @@ internal class RouteRepositoryImpl @Inject constructor(
53
startSubwayStation: String,
54
endSubwayStation: String
55
): SubwayRouteLocationUseCaseItem {
56
- return remoteDataSource.getRoute(routeRequest).metaData.plan.itineraries.first {
+ return remoteDataSource.getRoute(routeRequest).first {
57
it.legs.any { leg ->
58
leg.mode == "SUBWAY"
59
&& leg.route?.contains(subwayLine) ?: false
0 commit comments