diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/subscriptions.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/subscriptions.rake b/lib/tasks/subscriptions.rake index 875bd8ae6..77cbd94d3 100644 --- a/lib/tasks/subscriptions.rake +++ b/lib/tasks/subscriptions.rake @@ -5,7 +5,7 @@ namespace :subscriptions do accounts = Account.where('(select count(f.id) from follows as f where f.target_account_id = accounts.id) = 0').where.not(domain: nil) accounts.each do |a| - a.subscription(api_subscription_url(a.id)).unsubscribe + a.subscription('').unsubscribe a.update!(verify_token: '', secret: '') end end |