diff --git a/src/main/kotlin/net/leanix/githubagent/services/GitHubScanningService.kt b/src/main/kotlin/net/leanix/githubagent/services/GitHubScanningService.kt index cb27268..e89c902 100644 --- a/src/main/kotlin/net/leanix/githubagent/services/GitHubScanningService.kt +++ b/src/main/kotlin/net/leanix/githubagent/services/GitHubScanningService.kt @@ -45,9 +45,7 @@ class GitHubScanningService( } private fun getInstallations(jwtToken: String): List { - val installations = rateLimitHandler.executeWithRateLimitHandler { - gitHubClient.getInstallations("Bearer $jwtToken") - } + val installations = gitHubClient.getInstallations("Bearer $jwtToken") gitHubAuthenticationService.generateAndCacheInstallationTokens(installations, jwtToken) return installations }