diff --git a/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts b/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts index c18dc9b..19b5c3f 100644 --- a/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts +++ b/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts @@ -9,7 +9,7 @@ export default async (req: VercelRequest, res: VercelResponse) => { res.statusCode = 200; res.json( await getGithubUserContribution(userName as string, { - githubToken: process.env.GITHUB!, + githubToken: process.env.GITHUB_TOKEN!, }) ); } catch (err) {