Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
korshaknn committed Sep 14, 2021
1 parent 9b6d055 commit 72e7878
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class RouterWrapper(
},
{
mainJobControl.scope.launch {
val routes = parseDirectionsResponse(result.value!!, routeOptions)
val routes = parseDirectionsResponse(it, routeOptions)
if (routes.isNullOrEmpty()) {
callback.onFailure(
listOf(
Expand Down Expand Up @@ -172,7 +172,7 @@ class RouterWrapper(
val refreshedRoute =
withContext(ThreadController.IODispatcher) {
DirectionsRoute.fromJson(
result.value!!,
it,
routeOptions,
route.requestUuid()
)
Expand Down

0 comments on commit 72e7878

Please sign in to comment.