]> cat aescling's git repositories - mastodon.git/commitdiff
Fix “tootctl accounts unfollow” (#15639)
authorThibG <thib@sitedethib.com>
Fri, 29 Jan 2021 17:38:56 +0000 (18:38 +0100)
committerGitHub <noreply@github.com>
Fri, 29 Jan 2021 17:38:56 +0000 (18:38 +0100)
Fixes #15635

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
lib/mastodon/accounts_cli.rb

index 653bfca3010a07710d2cd59a68e3c17c9aab55fd..74162256ff78ebfbbb5dfa4fcf310a7802a8b48a 100644 (file)
@@ -402,7 +402,7 @@ module Mastodon
         exit(1)
       end
 
-      parallelize_with_progress(target_account.followers.local) do |account|
+      processed, = parallelize_with_progress(target_account.followers.local) do |account|
         UnfollowService.new.call(account, target_account)
       end