fix thread.js not passing 'since' correctly to post updates api

This commit is contained in:
2025-07-02 13:34:45 +03:00
parent 57a6810b03
commit 3c3837b3f2
2 changed files with 1 additions and 2 deletions

View File

@ -64,7 +64,7 @@
function tryFetchUpdate() {
if (!threadEndpoint) return;
const body = JSON.stringify({since: now});
const body = JSON.stringify({'since': now});
fetch(threadEndpoint, {method: "POST", headers: {"Content-Type": "application/json"}, body: body})
.then(res => res.json())
.then(json => {