We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ce586e commit 8ab36b1Copy full SHA for 8ab36b1
1 file changed
‎utils/getEmail.js‎
@@ -17,12 +17,9 @@ module.exports = async () => {
17
io.write(cyan("> Enter GitHub Username"));
18
const URL = await io.read();
19
await axios
20
- .get(
21
- `https://api.github.com/users/${URL}/events/public?access_token=${headers.Authorization}`,
22
- {
23
- headers: headers,
24
- }
25
- )
+ .get(`https://api.github.com/users/${URL}/events/public`, {
+ headers: headers,
+ })
26
.then((res) => {
27
for (let i = 0; i < res.data.length; i++) {
28
if (res.data[i].type === "PushEvent") {
0 commit comments