PuSH unsubscribe needs correct callback URL
This commit is contained in:
parent
aec51e40ee
commit
65ae9637d6
2 changed files with 4 additions and 2 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue