summaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2024-10-29 18:21:58 +0100
committerSamantaz Fox <coding@samantaz.fr>2024-10-29 18:21:58 +0100
commitdbd96c77e457ae17f55490315ffab325d2560e55 (patch)
tree6e770f3422b52708101b440ab5598d3be1676fed /assets/js
parente453a2a682f3cf18cba37329d2f422217dd8e980 (diff)
downloadinvidious-dbd96c77e457ae17f55490315ffab325d2560e55.tar.gz
invidious-dbd96c77e457ae17f55490315ffab325d2560e55.tar.bz2
invidious-dbd96c77e457ae17f55490315ffab325d2560e55.zip
Routes: Simplify actions in token_ajax
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/handlers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/handlers.js b/assets/js/handlers.js
index a3199fa7..67cd9081 100644
--- a/assets/js/handlers.js
+++ b/assets/js/handlers.js
@@ -91,7 +91,7 @@
var count = document.getElementById('count');
count.textContent--;
- var url = '/token_ajax?action_revoke_token=1&redirect=false' +
+ var url = '/token_ajax?action=revoke_token&redirect=false' +
'&referer=' + encodeURIComponent(location.href) +
'&session=' + target.getAttribute('data-session');