0
0
Fork 0

PuSH unsubscribe needs correct callback URL

This commit is contained in:
Eugen Rochko 2016-10-10 03:40:08 +02:00
parent aec51e40ee
commit 65ae9637d6
2 changed files with 4 additions and 2 deletions

View file

@ -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!