Routes: Simplify actions in subscription_ajax

This commit is contained in:
Samantaz Fox 2024-10-29 18:16:52 +01:00
parent 7e4b3b182a
commit e453a2a682
No known key found for this signature in database
GPG key ID: F42821059186176E
5 changed files with 9 additions and 17 deletions

View file

@ -111,7 +111,7 @@
var count = document.getElementById('count');
count.textContent--;
var url = '/subscription_ajax?action_remove_subscriptions=1&redirect=false' +
var url = '/subscription_ajax?action=remove_subscriptions&redirect=false' +
'&referer=' + encodeURIComponent(location.href) +
'&c=' + target.getAttribute('data-ucid');