05/04 Update bell Mark all as read issue

This commit is contained in:
2026-05-04 15:14:40 -04:00
parent 9897a4b7e9
commit ca9cdc6d71
+4 -1
View File
@@ -398,7 +398,10 @@
e.stopPropagation(); e.stopPropagation();
fetch(MARK_ALL_URL, { fetch(MARK_ALL_URL, {
method: 'POST', method: 'POST',
headers: { 'X-CSRFToken': CSRF_TOKEN }, headers: {
'X-CSRFToken': CSRF_TOKEN,
'X-Requested-With': 'XMLHttpRequest',
},
credentials: 'same-origin', credentials: 'same-origin',
}) })
.then(function(r) { return r.json(); }) .then(function(r) { return r.json(); })