File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ const fetchGithubStars = async () => {
104104};
105105
106106const fetchContributors = async () => {
107- const CACHE_KEY = ' lotus_contributors_cache_v2 ' ;
108- const CACHE_TIME_KEY = ' lotus_contributors_timestamp_v2 ' ;
107+ const CACHE_KEY = ' lotus_contributors_cache ' ;
108+ const CACHE_TIME_KEY = ' lotus_contributors_timestamp ' ;
109109 const TWO_HOURS = 2 * 60 * 60 * 1000 ;
110110
111111 const specialRoles: Record <number , string > = {
@@ -129,7 +129,9 @@ const fetchContributors = async () => {
129129 return ;
130130 }
131131
132- const response = await fetch (` https://api.github.com/repos/${REPO }/contributors ` );
132+ const response = await fetch (
133+ ` https://api.github.com/repos/${REPO }/contributors ` ,
134+ );
133135 if (! response .ok ) throw new Error (' GitHub API error' );
134136
135137 const data = await response .json ();
You can’t perform that action at this time.
0 commit comments