Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
blootsvoets committed Oct 7, 2020
1 parent 07b83ce commit 9def2af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 9def2af

Please sign in to comment.