Require explicit persisted acknowledgement of notifications

This commit is contained in:
2026-09-06 12:52:14 +03:00
parent c7bb67b101
commit 458f638b81
7 changed files with 89 additions and 23 deletions
+1
View File
@@ -929,6 +929,7 @@ const server = http.createServer(async (req, res) => {
const body = await readBody(req);
return json(res, 200, { success: true, okundu: okunduIsaretle(user.email, body.idler || []) });
}
if(req.method!=='GET')return json(res,405,{success:false,error:'Desteklenmeyen metot.'});
return json(res, 200, { success: true, bildirimler: bildirimleriOku(user.email) });
}
if (url.pathname === '/api/health/takip') {