diff --git a/tbot-api/src/main/kotlin/me/alllex/tbot/api/client/TelegramResponse.kt b/tbot-api/src/main/kotlin/me/alllex/tbot/api/client/TelegramResponse.kt index e551658..af08bd8 100644 --- a/tbot-api/src/main/kotlin/me/alllex/tbot/api/client/TelegramResponse.kt +++ b/tbot-api/src/main/kotlin/me/alllex/tbot/api/client/TelegramResponse.kt @@ -15,7 +15,7 @@ data class TelegramResponse( @Throws(TelegramBotApiException::class) fun TelegramResponse.getResultOrThrow(): T { - if(ok && result != null) { + if (ok && result != null) { return result }