mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Set header
This commit is contained in:
parent
eb94b76301
commit
ce179d737a
@ -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] }),
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user