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 5670c49 commit 0ead174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ async function run() {

const followers = await queryFollowers();
const following = await queryFollowing();
const unfollowers = following.filter(e => !followers.map((item) => item.login).includes(e.login));
const unfollowing = followers.filter(e => !following.map((item) => item.login).includes(e.login));
const unfollowers = following.filter(user => !followers.map(follower => follower.login).includes(user.login));
const unfollowing = followers.filter(user => !following.map(follow => follow.login).includes(user.login));
followers.reverse();

if(unfollowers.length > 0) {
Expand Down

0 comments on commit 0ead174

Please sign in to comment.