File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
data/src/main/java/com/stop/data/remote Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ data class BusInfo(
19
19
val isRun : String ,
20
20
) {
21
21
fun toRepositoryModel () = BusInfoRepositoryItem (
22
- isArrivedAtStation,
23
- sectionId,
24
- latitude,
25
- longitude,
26
- busId,
27
- busNumber,
28
- isRun
22
+ isArrivedAtStation = isArrivedAtStation ,
23
+ sectionId = sectionId ,
24
+ latitude = latitude ,
25
+ longitude = longitude ,
26
+ busId = busId ,
27
+ busNumber = busNumber ,
28
+ isRun = isRun,
29
29
)
30
30
}
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ internal interface WsBusApiService {
17
17
18
18
@GET(GET_BUS_NOW_LOCATION_URL )
19
19
suspend fun getBusNowLocation (
20
- @Query(" ServiceKey" ) serviceKey : String = BuildConfig .BUS_KEY ,
21
20
@Query(" busRouteId" ) busRouteId : String ,
22
21
@Query(" resultType" ) resultType : String = JSON
23
22
): NetworkResult <GetBusNowLocationResponse >
You can’t perform that action at this time.
0 commit comments