diff --git a/webflows/src/main/java/com/schibsted/account/webflows/client/Client.kt b/webflows/src/main/java/com/schibsted/account/webflows/client/Client.kt index 6a46de6a..80fade62 100644 --- a/webflows/src/main/java/com/schibsted/account/webflows/client/Client.kt +++ b/webflows/src/main/java/com/schibsted/account/webflows/client/Client.kt @@ -315,7 +315,7 @@ class Client { suspendCancellableCoroutine { continuation -> sessionStorage.get(clientId) { result -> result - .onSuccess { continuation.resume(true) } + .onSuccess { continuation.resume(it != null) } .onFailure { continuation.resume(false) } } }