removed api key

This commit is contained in:
Lucas Oliveira 2023-06-19 16:14:25 -03:00
commit 9be559397b

View file

@ -19,11 +19,6 @@ export async function getAll(): Promise<AxiosResponse<APIObjectType>> {
}
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 {