mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
Set content type header
This commit is contained in:
parent
ce179d737a
commit
29f63bfda9
@ -46,7 +46,7 @@ self.addEventListener("notificationclick", (event) => {
|
||||
if (event.notification.data) {
|
||||
fetch("/api/reviews/viewed", {
|
||||
method: "POST",
|
||||
headers: { "X-CSRF-TOKEN": 1 },
|
||||
headers: { "Content-Type": "application/json", "X-CSRF-TOKEN": 1 },
|
||||
body: JSON.stringify({ ids: [event.notification.data.id] }),
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user