PuSH unsubscribe needs correct callback URL
This commit is contained in:
@ -4,7 +4,7 @@ class BlockDomainService < BaseService
|
||||
|
||||
Account.where(domain: domain).find_each do |account|
|
||||
if account.subscribed?
|
||||
account.subscription('').unsubscribe
|
||||
account.subscription(api_subscription_url(account.id)).unsubscribe
|
||||
end
|
||||
|
||||
account.destroy!
|
||||
|
Reference in New Issue
Block a user