Skip to content

Commit

Permalink
fix: check of rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcastrodev committed Sep 30, 2023
1 parent f09aa2a commit be9d9a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Services/GithubApiService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export class GithubApiService extends GithubRepository {

private handleError(responseErrors: GithubError[]): ServiceError {
const errors = responseErrors ?? [];

const isRateLimitExceeded = errors.some((error) =>
error.type.includes(EServiceKindError.RATE_LIMIT) ||
error.message.includes("rate limit")
Expand Down

0 comments on commit be9d9a8

Please sign in to comment.