<@U1AFFRV1Q> commented on <@U0N58KE78>’s file <htt...
# android
u
@kingsley commented on @theio’s file

https://kotlinlang.slack.com/files/U0N58KE78/FA6NNSTBM/kotlin-rxjava.png

: @theio the problem is that you are mapping the
Response<User>
into a lambda. What you need to do is get rid of that
{}
parenthesis after the
->
, so you’d have something like:
Copy code
map { res: Response<User> -> // no parens here
  if (...)...
  else ...
}