From 9def2af09369504805aa5ca19fb864b1e7e28546 Mon Sep 17 00:00:00 2001 From: Joris Borgdorff Date: Wed, 7 Oct 2020 14:33:34 +0200 Subject: [PATCH] Fix indentation --- .../org/radarbase/jersey/service/managementportal/MPClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/radarbase/jersey/service/managementportal/MPClient.kt b/src/main/kotlin/org/radarbase/jersey/service/managementportal/MPClient.kt index 71e9909..6bcab3e 100644 --- a/src/main/kotlin/org/radarbase/jersey/service/managementportal/MPClient.kt +++ b/src/main/kotlin/org/radarbase/jersey/service/managementportal/MPClient.kt @@ -40,7 +40,7 @@ class MPClient( private var token: RestOauth2AccessToken? = null private val validToken: RestOauth2AccessToken? - get() = token?.takeIf { it.isValid() } + get() = token?.takeIf { it.isValid() } private fun ensureToken(): String = (validToken ?: requestToken().also { token = it })