Skip to content

Commit

Permalink
CID-3293: Revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedlajmileanix committed Dec 13, 2024
1 parent a109679 commit d63eca9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ class GitHubScanningService(
}

private fun getInstallations(jwtToken: String): List<Installation> {
val installations = rateLimitHandler.executeWithRateLimitHandler {
gitHubClient.getInstallations("Bearer $jwtToken")
}
val installations = gitHubClient.getInstallations("Bearer $jwtToken")
gitHubAuthenticationService.generateAndCacheInstallationTokens(installations, jwtToken)
return installations
}
Expand Down

0 comments on commit d63eca9

Please sign in to comment.