Skip to content

Commit

Permalink
refactor: fix typo in TRY_AGAIN_LATER constant name (anuraghazra#3274)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty541 committed Dec 22, 2023
1 parent d393f30 commit a1d1cdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,16 +399,16 @@ const CONSTANTS = {
ERROR_CACHE_SECONDS: TEN_MINUTES,
};

const TRY_AGAING_LATER = "Please try again later";
const TRY_AGAIN_LATER = "Please try again later";

const SECONDARY_ERROR_MESSAGES = {
MAX_RETRY:
"You can deploy own instance or wait until public will be no longer limited",
NO_TOKENS:
"Please add an env variable called PAT_1 with your GitHub API token in vercel",
USER_NOT_FOUND: "Make sure the provided username is not an organization",
GRAPHQL_ERROR: TRY_AGAING_LATER,
GITHUB_REST_API_ERROR: TRY_AGAING_LATER,
GRAPHQL_ERROR: TRY_AGAIN_LATER,
GITHUB_REST_API_ERROR: TRY_AGAIN_LATER,
WAKATIME_USER_NOT_FOUND: "Make sure you have a public WakaTime profile",
};

Expand Down

0 comments on commit a1d1cdb

Please sign in to comment.