diff --git a/unfollow_all.js b/unfollow_all.js index a13d37d..08718bc 100644 --- a/unfollow_all.js +++ b/unfollow_all.js @@ -46,7 +46,7 @@ async function unfollowUser(user) { e = {}; } console.log(e); - if (e.success || e[0]) { + if (!e[0].errors) { gek++; } else { spamTimeout = 20;