From d63eca95b0fff5b60b87eb18f46dd2f03419d5f4 Mon Sep 17 00:00:00 2001 From: mohamedlajmileanix Date: Fri, 13 Dec 2024 17:26:23 +0100 Subject: [PATCH] CID-3293: Revert change --- .../net/leanix/githubagent/services/GitHubScanningService.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }