Skip to content

Commit f4cfe41

Browse files
committed
fix: remoteDataSource의 바뀐 리턴 값 반영
1 parent 39a54a1 commit f4cfe41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/src/main/java/com/stop/data/repository/RouteRepositoryImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ internal class RouteRepositoryImpl @Inject constructor(
5353
startSubwayStation: String,
5454
endSubwayStation: String
5555
): SubwayRouteLocationUseCaseItem {
56-
return remoteDataSource.getRoute(routeRequest).metaData.plan.itineraries.first {
56+
return remoteDataSource.getRoute(routeRequest).first {
5757
it.legs.any { leg ->
5858
leg.mode == "SUBWAY"
5959
&& leg.route?.contains(subwayLine) ?: false

0 commit comments

Comments
 (0)