feature: events polling

This commit is contained in:
Andy Burke 2025-07-02 21:28:07 -07:00
parent 61a51017a3
commit b700251278
19 changed files with 353 additions and 77 deletions

View file

@ -134,11 +134,11 @@ export async function DELETE(_req: Request, meta: Record<string, any>): Promise<
await PASSWORD_ENTRIES.delete(password_entry);
}
const sessions = await SESSIONS.find({
const session_entries = await SESSIONS.find({
user_id
});
for (const session of sessions) {
await SESSIONS.delete(session);
for (const entry of session_entries) {
await SESSIONS.delete(entry.load());
}
await USERS.delete(user);