feat: add more SSE events to rubgram

This commit is contained in:
2026-04-03 19:38:51 +07:00 Unverified
parent 92592a2d0c
commit f88dc09095
3 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -210,9 +210,9 @@ export async function wipe() {
await db.execute(
sql`ALTER SEQUENCE artifact.submissions_queue_seq RESTART WITH 1`,
);
revalidatePath("/artifact/admin");
revalidatePath("/artifact");
ps.publish({ type: "wipe" }, { topic: "artifact", event: "update" });
await actionLog(`Deleted artifact submissions`);
redirect("/artifact/admin");
}