From 9be559397b422a941b23094c66e5e9416163df76 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Mon, 19 Jun 2023 16:14:25 -0300 Subject: [PATCH] removed api key --- src/frontend/src/controllers/API/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/frontend/src/controllers/API/index.ts b/src/frontend/src/controllers/API/index.ts index fb24a0f2b..28a41d578 100644 --- a/src/frontend/src/controllers/API/index.ts +++ b/src/frontend/src/controllers/API/index.ts @@ -19,11 +19,6 @@ export async function getAll(): Promise> { } const GITHUB_API_URL = "https://api.github.com"; -const GITHUB_PERSONAL_ACCESS_TOKEN = "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"; - -axios.defaults.headers.common[ - "Authorization" -] = `token ${GITHUB_PERSONAL_ACCESS_TOKEN}`; export async function getRepoStars(owner, repo) { try {