From d1ec218ade3fd5ac81857c2df14b69b809a52ac7 Mon Sep 17 00:00:00 2001 From: Rohit Sharma Date: Thu, 19 Aug 2021 20:08:26 +0530 Subject: [PATCH] webex.initialize updated for JWT section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed9e728c..767c1581 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ Here are some examples of how to use the Android SDK in your app. val authenticator: JWTAuthenticator = JWTAuthenticator() val webex = Webex(application, authenticator) webex.initialize(CompletionHandler { result -> - if (result.error != null) { + if (result.error == null) { //already authorised } else { authenticator.authorize(token, CompletionHandler { result ->