Skip to content

Commit

Permalink
fix(api): Typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Mar 4, 2024
1 parent 154999d commit 1a195f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/data_validation_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ export async function verifyRateLimitAPI(
//if the error is 404 and user use enterprise, it's normal
if ((error as any).status === 404
&& settings.github.api.tiersForApi === GithubTiersVersion.entreprise
&& (error as any).response.message.data === "Rate limiting is not enabled."
&& (error as any).response.data.message === "Rate limiting is not enabled."
&& (error as any).name === "HttpError") return 5000;
notif({ settings, e: true }, error);
return 0;
Expand Down

0 comments on commit 1a195f3

Please sign in to comment.