removed api key
This commit is contained in:
parent
0dcd93ef92
commit
9be559397b
1 changed files with 0 additions and 5 deletions
|
|
@ -19,11 +19,6 @@ export async function getAll(): Promise<AxiosResponse<APIObjectType>> {
|
||||||
}
|
}
|
||||||
|
|
||||||
const GITHUB_API_URL = "https://api.github.com";
|
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) {
|
export async function getRepoStars(owner, repo) {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue