diff --git a/web/public/notifications-worker.js b/web/public/notifications-worker.js index db210fe7a..3de3d6815 100644 --- a/web/public/notifications-worker.js +++ b/web/public/notifications-worker.js @@ -46,6 +46,7 @@ self.addEventListener("notificationclick", (event) => { if (event.notification.data) { fetch("/api/reviews/viewed", { method: "POST", + headers: { "X-CSRF-TOKEN": 1 }, body: JSON.stringify({ ids: [event.notification.data.id] }), }); }