We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f6a7a5 commit 1ce586eCopy full SHA for 1ce586e
1 file changed
āutils/getStargazer.jsā
@@ -21,12 +21,9 @@ module.exports = async () => {
21
const repo = await io.read();
22
23
await axios
24
- .get(
25
- `https://api.github.com/repos/${username}/${repo}?access_token=${headers.Authorization}`,
26
- {
27
- headers: headers,
28
- }
29
- )
+ .get(`https://api.github.com/repos/${username}/${repo}`, {
+ headers: headers,
+ })
30
.then((res) => {
31
const name = "āļø Stars";
32
const data = res.data.stargazers_count;
0 commit comments