diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-10 03:40:08 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-10 03:40:08 +0200 |
commit | 65ae9637d6cc7a9d351e8f83993ef138a01b1485 (patch) | |
tree | 867b6f1571355fe3d890a15446f73980dab1f4e4 /app/services | |
parent | aec51e40ee98b1a73d59b1456e61709d49c61552 (diff) |
PuSH unsubscribe needs correct callback URL
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/block_domain_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/block_domain_service.rb b/app/services/block_domain_service.rb index 075460605..ac658a050 100644 --- a/app/services/block_domain_service.rb +++ b/app/services/block_domain_service.rb @@ -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! |