Skip to content

Commit

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

0 comments on commit 603139a

Please sign in to comment.