Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Huniko519 authored Feb 1, 2024
1 parent 603139a commit 4ecba33
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ async function run() {
if (!safeUserList.includes(username)) {
await octokit.users.unfollow({username: uusername});
}
setTimeout(() => {
await queryUnfollowUnfollowers(unfollowers);
}, 300);
await queryUnfollowUnfollowers(unfollowers);
}
return true;
}
Expand All @@ -57,9 +55,7 @@ async function run() {
if( !follower.done ) {
const uusername = follower.value[1].login;
await octokit.users.follow({username: uusername});
setTimeout(() => {
await queryFollowingUnfollowingUsers(unfollowing);
}, 300);
await queryFollowingUnfollowingUsers(unfollowing);
}
return true;
}
Expand Down

0 comments on commit 4ecba33

Please sign in to comment.